Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.rest
Class ContentTypeInterceptor

    java.lang.Object
      org.apache.struts2.rest.ContentTypeInterceptor

All Implemented Interfaces:
  com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    public class ContentTypeInterceptor

extends Object
implements com.opensymphony.xwork2.interceptor.Interceptor

Uses the content handler to apply the request body to the action

See Also:
  Serialized Form

Constructor Summary
`ContentTypeInterceptor()`

Method Summary
`void` | `destroy()`
`void` | `init()`
`String` | `intercept(com.opensymphony.xwork2.ActionInvocation invocation)`
`void` | `setContentTypeHandlerSelector(ContentTypeHandlerManager sel)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ContentTypeInterceptor

    public ContentTypeInterceptor()

Method Detail

### setContentTypeHandlerSelector

    public void setContentTypeHandlerSelector(ContentTypeHandlerManager sel)

### destroy

    public void destroy()

  Specified by:
    `destroy` in interface `com.opensymphony.xwork2.interceptor.Interceptor`

### init

    public void init()

  Specified by:
    `init` in interface `com.opensymphony.xwork2.interceptor.Interceptor`

### intercept

    public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
                     throws Exception

  Specified by:
    `intercept` in interface `com.opensymphony.xwork2.interceptor.Interceptor`
  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.