Package org.apache.cxf.jaxrs.client
Class AbstractClient.AbstractBodyWriter
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
-
- org.apache.cxf.jaxrs.client.AbstractClient.AbstractBodyWriter
-
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
- Direct Known Subclasses:
ClientProxyImpl.BodyWriter
- Enclosing class:
- AbstractClient
protected abstract static class AbstractClient.AbstractBodyWriter extends AbstractOutDatabindingInterceptor
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
DISABLE_OUTPUTSTREAM_OPTIMIZATION, OUT_BUFFERING
-
-
Constructor Summary
Constructors Constructor Description AbstractBodyWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voiddoWriteBody(Message outMessage, Object body, Type bodyType, Annotation[] customAnns, OutputStream os)voidhandleMessage(Message outMessage)Intercepts a message.-
Methods inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
getDataWriter, getXMLStreamWriter, setOperationSchemaValidation, shouldBuffer, shouldValidate, writeParts, writeToOutputStream
-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Method Detail
-
handleMessage
public void handleMessage(Message outMessage) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
doWriteBody
protected abstract void doWriteBody(Message outMessage, Object body, Type bodyType, Annotation[] customAnns, OutputStream os) throws Fault
- Throws:
Fault
-
-