public class JsonpInInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
static String |
CALLBACK_KEY |
static String |
CALLBACK_PARAM |
static String |
DEFAULT_CALLBACK_VALUE |
static String |
JSONP_TYPE |
Constructor and Description |
---|
JsonpInInterceptor() |
JsonpInInterceptor(String phase) |
Modifier and Type | Method and Description |
---|---|
String |
getAcceptType() |
String |
getCallbackParam() |
protected String |
getCallbackValue(Message message) |
String |
getDefaultCallback() |
String |
getMediaType() |
void |
handleMessage(Message message)
Intercepts a message.
|
void |
setAcceptType(String acceptType) |
void |
setCallbackParam(String callbackParam) |
void |
setDefaultCallback(String defaultCallback) |
void |
setMediaType(String mediaType) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public static final String JSONP_TYPE
public static final String CALLBACK_PARAM
public static final String CALLBACK_KEY
public static final String DEFAULT_CALLBACK_VALUE
public JsonpInInterceptor()
public JsonpInInterceptor(String phase)
public void handleMessage(Message message) throws Fault
Interceptor
Fault
public void setCallbackParam(String callbackParam)
public String getCallbackParam()
public void setAcceptType(String acceptType)
public String getAcceptType()
public void setMediaType(String mediaType)
public String getMediaType()
public void setDefaultCallback(String defaultCallback)
public String getDefaultCallback()
Apache CXF