Package org.apache.struts2.rest
Class ContentTypeInterceptor
java.lang.Object
org.apache.struts2.interceptor.AbstractInterceptor
org.apache.struts2.rest.ContentTypeInterceptor
- All Implemented Interfaces:
Serializable
,ConditionalInterceptor
,Interceptor
Uses the content handler to apply the request body to the action
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.struts2.interceptor.AbstractInterceptor
destroy, init, setDisabled, shouldIntercept
-
Constructor Details
-
ContentTypeInterceptor
public ContentTypeInterceptor()
-
-
Method Details
-
setContentTypeHandlerSelector
-
intercept
- Specified by:
intercept
in interfaceInterceptor
- Specified by:
intercept
in classAbstractInterceptor
- Throws:
Exception
-