MessageType - the message type of the message context on which to operatepublic class HTTPSOAP11Decoder<MessageType extends org.opensaml.core.xml.XMLObject>
extends org.opensaml.messaging.decoder.servlet.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.
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.messaging.handler.MessageHandler<MessageType> |
bodyHandler
Message handler to use in processing the message body.
|
private org.slf4j.Logger |
log
Class logger.
|
private static Set<com.google.common.net.MediaType> |
SUPPORTED_MEDIA_TYPES
Valid Content-Type media types.
|
| Constructor and Description |
|---|
HTTPSOAP11Decoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDecode() |
protected void |
doInitialize() |
org.opensaml.messaging.handler.MessageHandler<MessageType> |
getBodyHandler()
Get the configured body handler MessageHandler.
|
protected org.opensaml.core.xml.XMLObject |
getMessageToLog() |
void |
setBodyHandler(org.opensaml.messaging.handler.MessageHandler<MessageType> newBodyHandler)
Set the configured body handler MessageHandler.
|
protected void |
validateHttpRequest(javax.servlet.http.HttpServletRequest request) |
decode, doDestroy, getParserPool, logDecodedMessage, setParserPool, unmarshallMessagegetHttpServletRequest, setHttpServletRequestgetMessageContext, setMessageContextdestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitializeddestroy, isDestroyedprivate static final Set<com.google.common.net.MediaType> SUPPORTED_MEDIA_TYPES
private final org.slf4j.Logger log
private org.opensaml.messaging.handler.MessageHandler<MessageType extends org.opensaml.core.xml.XMLObject> bodyHandler
public org.opensaml.messaging.handler.MessageHandler<MessageType> getBodyHandler()
public void setBodyHandler(org.opensaml.messaging.handler.MessageHandler<MessageType> newBodyHandler)
newBodyHandler - The bodyHandler to set.protected void doDecode()
throws org.opensaml.messaging.decoder.MessageDecodingException
doDecode in class org.opensaml.messaging.decoder.AbstractMessageDecoder<MessageType extends org.opensaml.core.xml.XMLObject>org.opensaml.messaging.decoder.MessageDecodingExceptionprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<MessageType extends org.opensaml.core.xml.XMLObject>ComponentInitializationExceptionprotected org.opensaml.core.xml.XMLObject getMessageToLog()
getMessageToLog in class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<MessageType extends org.opensaml.core.xml.XMLObject>protected void validateHttpRequest(javax.servlet.http.HttpServletRequest request)
throws org.opensaml.messaging.decoder.MessageDecodingException
validateHttpRequest in class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<MessageType extends org.opensaml.core.xml.XMLObject>org.opensaml.messaging.decoder.MessageDecodingExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.