public class JsonpPreStreamInterceptor extends AbstractJsonpOutInterceptor implements javax.ws.rs.ext.WriterInterceptor
Constructor and Description |
---|
JsonpPreStreamInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context) |
String |
getMediaType() |
String |
getPaddingEnd() |
void |
handleMessage(Message message)
Intercepts a message.
|
protected void |
setContentType(Message message) |
void |
setMediaType(String mediaType) |
void |
setPaddingEnd(String paddingEnd) |
getCallbackValue, writeValue
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public void handleMessage(Message message) throws Fault
Interceptor
handleMessage
in interface Interceptor<Message>
Fault
protected void setContentType(Message message)
public void setMediaType(String mediaType)
public String getMediaType()
public void setPaddingEnd(String paddingEnd)
public String getPaddingEnd()
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException
aroundWriteTo
in interface javax.ws.rs.ext.WriterInterceptor
IOException
javax.ws.rs.WebApplicationException
Apache CXF