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<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, unmarshallMessage
getHttpServletRequest, setHttpServletRequest
getMessageContext, setMessageContext
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, isInitialized
destroy, isDestroyed
private static final Set<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.MessageDecodingException
protected void doInitialize() throws ComponentInitializationException
doInitialize
in class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder<MessageType extends org.opensaml.core.xml.XMLObject>
ComponentInitializationException
protected 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.MessageDecodingException
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.