public class StaxOutInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
static StaxOutEndingInterceptor |
ENDING |
static String |
FORCE_START_DOCUMENT |
static String |
OUTPUT_STREAM_HOLDER |
static String |
WRITER_HOLDER |
Constructor and Description |
---|
StaxOutInterceptor() |
Modifier and Type | Method and Description |
---|---|
static XMLOutputFactory |
getXMLOutputFactory(Message m) |
void |
handleFault(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.
|
void |
handleMessage(Message message)
Intercepts a message.
|
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
public static final String OUTPUT_STREAM_HOLDER
public static final String WRITER_HOLDER
public static final String FORCE_START_DOCUMENT
public static final StaxOutEndingInterceptor ENDING
public void handleMessage(Message message)
Interceptor
public void handleFault(Message message)
Interceptor
handleFault
in interface Interceptor<Message>
handleFault
in class AbstractPhaseInterceptor<Message>
public static XMLOutputFactory getXMLOutputFactory(Message m) throws Fault
Fault
Copyright © 2016 JBoss by Red Hat. All rights reserved.