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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentTypeInterceptor
public ContentTypeInterceptor()
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
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.