org.opensaml.common.binding.decoding
Interface HTTPMessageDecoder

All Superinterfaces:
MessageDecoder<javax.servlet.http.HttpServletRequest>
All Known Subinterfaces:
SOAPHTTPDecoder
All Known Implementing Classes:
AbstractHTTPMessageDecoder, AbstractSOAPHTTPDecoder, HTTPArtifactDecoder, HTTPPostDecoder, HTTPPostDecoder, HTTPRedirectDeflateDecoder, HTTPSOAP11Decoder, HTTPSOAP11Decoder

public interface HTTPMessageDecoder
extends MessageDecoder<javax.servlet.http.HttpServletRequest>

Base interface for HTTP specific SAML bindings.


Method Summary
 java.lang.String getMethod()
          Gets the HTTP method used in the request.
 java.lang.String getRelayState()
          Gets the relay state from the decoded message.
 
Methods inherited from interface org.opensaml.common.binding.decoding.MessageDecoder
decode, getBindingURI, getMetadataProvider, getRequest, getSAMLMessage, getSecurityPolicy, getTrustEngine, setMetadataProvider, setRequest, setSecurityPolicy, setTrustEngine
 

Method Detail

getMethod

java.lang.String getMethod()
Gets the HTTP method used in the request. Possible values are "GET" and "POST".

Returns:
HTTP method used in the request

getRelayState

java.lang.String getRelayState()
Gets the relay state from the decoded message.

Returns:
the relay state from the decoded message