Package org.apache.cxf.interceptor
Class StaxOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.StaxOutInterceptor
- All Implemented Interfaces:
- Interceptor<Message>,- PhaseInterceptor<Message>
Creates an XMLStreamWriter from the OutputStream on the Message.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StaxOutEndingInterceptorstatic final Stringstatic final Stringstatic final String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic XMLOutputFactoryvoidhandleFault(Message message) Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.voidhandleMessage(Message message) Intercepts a message.Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptoraddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
- 
Field Details- 
OUTPUT_STREAM_HOLDER
- 
WRITER_HOLDER
- 
FORCE_START_DOCUMENT- See Also:
 
- 
ENDING
 
- 
- 
Constructor Details- 
StaxOutInterceptorpublic StaxOutInterceptor()
 
- 
- 
Method Details- 
handleMessageDescription 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.
- 
handleFaultDescription copied from interface:InterceptorCalled for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.- Specified by:
- handleFaultin interface- Interceptor<Message>
- Overrides:
- handleFaultin class- AbstractPhaseInterceptor<Message>
 
- 
getXMLOutputFactory- Throws:
- Fault
 
 
-