|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.rest.ContentTypeInterceptor
public class ContentTypeInterceptor
Uses the content handler to apply the request body to the action
| Constructor Summary | |
|---|---|
ContentTypeInterceptor()
|
|
| Method Summary | |
|---|---|
void |
destroy()
|
void |
init()
|
java.lang.String |
intercept(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 |
|---|
public ContentTypeInterceptor()
| Method Detail |
|---|
public void setContentTypeHandlerSelector(ContentTypeHandlerManager sel)
public void destroy()
destroy in interface Interceptorpublic void init()
init in interface Interceptor
public java.lang.String intercept(ActionInvocation invocation)
throws java.lang.Exception
intercept in interface Interceptorjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||