MessageType
- the message type of the message context on which to operatepublic class HTTPSOAP11Decoder<MessageType extends XMLObject> extends BaseHttpServletRequestXMLMessageDecoder<MessageType>
This decoder takes a mandatory MessageHandler
instance which is used to determine
populate the message that is returned as the MessageContext.getMessage()
.
A SOAP message oriented message exchange style might just populate the Envelope as the message. An application-specific payload-oriented message exchange would handle a specific type of payload structure.
Constructor and Description |
---|
HTTPSOAP11Decoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDecode()
Performs the decoding logic.
|
protected void |
doInitialize() |
MessageHandler<MessageType> |
getBodyHandler()
Get the configured body handler MessageHandler.
|
protected XMLObject |
getMessageToLog()
Get the XMLObject which will be logged as the protocol message.
|
void |
setBodyHandler(MessageHandler<MessageType> newBodyHandler)
Set the configured body handler MessageHandler.
|
decode, doDestroy, getParserPool, logDecodedMessage, setParserPool, unmarshallMessage
getHttpServletRequest, setHttpServletRequest
getMessageContext, setMessageContext
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessageContext
public MessageHandler<MessageType> getBodyHandler()
public void setBodyHandler(MessageHandler<MessageType> newBodyHandler)
newBodyHandler
- The bodyHandler to set.protected void doDecode() throws MessageDecodingException
doDecode
in class AbstractMessageDecoder<MessageType extends XMLObject>
MessageDecodingException
- thrown if there is a problem decoding the messageprotected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize
in class BaseHttpServletRequestXMLMessageDecoder<MessageType extends XMLObject>
net.shibboleth.utilities.java.support.component.ComponentInitializationException
protected XMLObject getMessageToLog()
getMessageToLog
in class BaseHttpServletRequestXMLMessageDecoder<MessageType extends XMLObject>
Copyright © 2018. All rights reserved.