public abstract class StreamingHandler extends Object implements Handler, StreamingHandler
| Modifier | Constructor and Description |
|---|---|
protected |
StreamingHandler() |
protected String getActor()
public void handle(SOAPMessageContext spiContext)
protected void processHeaders(XMLReader reader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception
Exceptionprotected boolean processHeaderElement(XMLReader reader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception
Exceptionprotected boolean readHeaderElement(SOAPHeaderBlockInfo headerInfo, XMLReader reader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception
Exceptionprotected void handleEmptyBody(XMLReader reader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception
Exceptionprotected void peekFirstBodyElement(XMLReader reader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception
Exceptionprotected void readFirstBodyElement(XMLReader reader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception
Exceptionpublic int getOpcodeForRequestMessage(SOAPMessage request)
getOpcodeForRequestMessage in interface StreamingHandlerpublic boolean usesSOAPActionForDispatching()
public int getOpcodeForFirstBodyElementName(QName name)
public int getOpcodeForSOAPAction(String s)
public Method getMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException
getMethodForOpcode in interface StreamingHandlerClassNotFoundExceptionNoSuchMethodExceptionprotected String[] getNamespaceDeclarations()
public QName[] getUnderstoodHeaders()
protected String getDefaultEnvelopeEncodingStyle()
protected String getImplicitEnvelopeEncodingStyle()
protected String getPreferredCharacterEncoding()
protected void writeResponse(StreamingHandlerState state) throws Exception
Exceptionprotected boolean preHandlingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void postHandlingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void preEnvelopeReadingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void preHeaderReadingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void postHeaderReadingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void preBodyReadingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void postBodyReadingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void postEnvelopeReadingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void processingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void preResponseWritingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void postResponseWritingHook(StreamingHandlerState state) throws Exception
Exceptionprotected void callFaultHandlers(StreamingHandlerState state) throws Exception
Exceptionprotected boolean callRequestHandlers(StreamingHandlerState state) throws Exception
true is returned, FI content negotiation must
be carried out.Exceptionprotected void callResponseHandlers(StreamingHandlerState state) throws Exception
Exceptionprotected HandlerChainImpl getHandlerChain()
protected XMLReaderFactory getXMLReaderFactory(StreamingHandlerState state)
protected XMLWriterFactory getXMLWriterFactory(StreamingHandlerState state)
protected void reportFault(SOAPFaultInfo fault, StreamingHandlerState state)
StreamingHandlerState.resetResponse()
creates a new SAAJ SOAPMessage for the response with the FI flag based
on the SOAPMessageContext state. This is needed for content negotiation.Copyright © 2017–2019 Eclipse Foundation. All rights reserved.