org.opensaml.ws.soap.soap11.decoder
Class SOAP11Decoder

java.lang.Object
  extended by org.opensaml.ws.message.decoder.BaseMessageDecoder
      extended by org.opensaml.ws.message.handler.BaseHandlerChainAwareMessageDecoder
          extended by org.opensaml.ws.soap.soap11.decoder.SOAP11Decoder
All Implemented Interfaces:
MessageDecoder, HandlerChainAware
Direct Known Subclasses:
HTTPSOAP11Decoder

public class SOAP11Decoder
extends BaseHandlerChainAwareMessageDecoder

Basic SOAP 1.1 decoder.


Constructor Summary
SOAP11Decoder()
          Constructor.
SOAP11Decoder(org.opensaml.xml.parse.ParserPool pool)
          Constructor.
 
Method Summary
 void decode(MessageContext messageContext)
          Decodes a message in a binding specific manner.
protected  void doDecode(MessageContext messageContext)
          Decodes a message, updating the message context.
 
Methods inherited from class org.opensaml.ws.message.handler.BaseHandlerChainAwareMessageDecoder
invokeHandlerChain, processPostSecurityInboundHandlerChain, processPreSecurityInboundHandlerChain
 
Methods inherited from class org.opensaml.ws.message.decoder.BaseMessageDecoder
getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAP11Decoder

public SOAP11Decoder()
Constructor.


SOAP11Decoder

public SOAP11Decoder(org.opensaml.xml.parse.ParserPool pool)
Constructor.

Parameters:
pool - parser pool used to deserialize messages
Method Detail

doDecode

protected void doDecode(MessageContext messageContext)
                 throws MessageDecodingException
Decodes a message, updating the message context. Security policy evaluation is handled outside this method.

Specified by:
doDecode in class BaseMessageDecoder
Parameters:
messageContext - current message context
Throws:
MessageDecodingException - thrown if there is a problem decoding the message

decode

public void decode(MessageContext messageContext)
            throws MessageDecodingException,
                   org.opensaml.xml.security.SecurityException
Decodes a message in a binding specific manner.

Specified by:
decode in interface MessageDecoder
Overrides:
decode in class BaseHandlerChainAwareMessageDecoder
Parameters:
messageContext - current message context
Throws:
MessageDecodingException - thrown if the message can not be decoded
org.opensaml.xml.security.SecurityException - thrown if the decoded message does not meet the required security constraints


Copyright © 2006-2013 Internet2. All Rights Reserved.