Package org.apache.cxf.jaxrs.client
Class AbstractClient.AbstractBodyWriter
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
org.apache.cxf.jaxrs.client.AbstractClient.AbstractBodyWriter
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
- Direct Known Subclasses:
ClientProxyImpl.BodyWriter
- Enclosing class:
- AbstractClient
protected abstract static class AbstractClient.AbstractBodyWriter
extends org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
-
Field Summary
Fields inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
DISABLE_OUTPUTSTREAM_OPTIMIZATION, OUT_BUFFERING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doWriteBody
(org.apache.cxf.message.Message outMessage, Object body, Type bodyType, Annotation[] customAnns, OutputStream os) void
handleMessage
(org.apache.cxf.message.Message outMessage) 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
-
Constructor Details
-
AbstractBodyWriter
public AbstractBodyWriter()
-
-
Method Details
-
handleMessage
public void handleMessage(org.apache.cxf.message.Message outMessage) throws org.apache.cxf.interceptor.Fault - Throws:
org.apache.cxf.interceptor.Fault
-
doWriteBody
protected abstract void doWriteBody(org.apache.cxf.message.Message outMessage, Object body, Type bodyType, Annotation[] customAnns, OutputStream os) throws org.apache.cxf.interceptor.Fault - Throws:
org.apache.cxf.interceptor.Fault
-