org.hippoecm.hst.pagecomposer.jaxrs.cxf.provider
Class JsonpInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.hippoecm.hst.pagecomposer.jaxrs.cxf.provider.JsonpInInterceptor
- All Implemented Interfaces:
- org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
public class JsonpInInterceptor
- extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
Sets a callback key in the message exchange for HTTP requests containing the '_jsonp' parameter in the
querystring.
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CALLBACK_PARAM
public static final String CALLBACK_PARAM
- See Also:
- Constant Field Values
CALLBACK_KEY
public static final String CALLBACK_KEY
- See Also:
- Constant Field Values
JsonpInInterceptor
public JsonpInInterceptor()
JsonpInInterceptor
public JsonpInInterceptor(String phase)
handleMessage
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
getCallbackValue
protected String getCallbackValue(org.apache.cxf.message.Message message)
setCallbackParam
public void setCallbackParam(String callbackParam)
getCallbackParam
public String getCallbackParam()
setAcceptType
public void setAcceptType(String acceptType)
getAcceptType
public String getAcceptType()
Copyright © 2008-2012 Hippo. All Rights Reserved.