# Uses of Class
org.opensaml.messaging.decoder.MessageDecodingException

Packages that use MessageDecodingException
Package
Description
org.opensaml.messaging.decoder
Interfaces and classes for decoding messages.
org.opensaml.messaging.decoder.httpclient
Interfaces and classes for decoding HTTP messages.
org.opensaml.messaging.decoder.servlet
Interfaces and classes for decoding messages that come from an `HttpServletRequest`.
org.opensaml.saml.common.binding
Classes related to SAML binding operations.
org.opensaml.saml.common.binding.impl
Implementation of SAML binding-level functionality, such as MessageHandlers.
org.opensaml.saml.saml1.binding.decoding.impl
SAML 1.x message decoders.
org.opensaml.saml.saml2.binding.decoding.impl
SAML 2.0 message decoders.
org.opensaml.soap.client.soap11.decoder.http.impl
SOAP 1.1 client message decoding support implementations.
org.opensaml.soap.common
Common classes shared across SOAP versions, clients, and transports.
org.opensaml.soap.soap11.decoder.http.impl
SOAP over HTTP 1.1 message decoder and handlers.

## Uses of MessageDecodingException in org.opensaml.messaging.decoder

Methods in org.opensaml.messaging.decoder that throw MessageDecodingException
Modifier and Type
Method
Description
`void`
AbstractMessageDecoder.`decode()`
Decode message data from the source and store it so that it may be retrieved via `MessageDecoder.getMessageContext()`.
`void`
MessageDecoder.`decode()`
Decode message data from the source and store it so that it may be retrieved via `MessageDecoder.getMessageContext()`.
`protected abstract void`
AbstractMessageDecoder.`doDecode()`
Performs the decoding logic.

## Uses of MessageDecodingException in org.opensaml.messaging.decoder.httpclient

Methods in org.opensaml.messaging.decoder.httpclient that throw MessageDecodingException
Modifier and Type
Method
Description
`void`
BaseHttpClientResponseXMLMessageDecoder.`decode()`
Decode message data from the source and store it so that it may be retrieved via `MessageDecoder.getMessageContext()`.
`protected XMLObject`
BaseHttpClientResponseXMLMessageDecoder.`unmarshallMessage(InputStream messageStream)`
Helper method that deserializes and unmarshalls the message from the given stream.

## Uses of MessageDecodingException in org.opensaml.messaging.decoder.servlet

Methods in org.opensaml.messaging.decoder.servlet that throw MessageDecodingException
Modifier and Type
Method
Description
`void`
BaseHttpServletRequestXMLMessageDecoder.`decode()`
Decode message data from the source and store it so that it may be retrieved via `MessageDecoder.getMessageContext()`.
`protected XMLObject`
BaseHttpServletRequestXMLMessageDecoder.`unmarshallMessage(InputStream messageStream)`
Helper method that deserializes and unmarshalls the message from the given stream.
`protected void`
BaseHttpServletRequestXMLMessageDecoder.`validateHttpRequest(HttpServletRequest request)`
Perform optional validation of the inbound `HttpServletRequest`.

## Uses of MessageDecodingException in org.opensaml.saml.common.binding

Methods in org.opensaml.saml.common.binding that throw MessageDecodingException
Modifier and Type
Method
Description
`static void`
SAMLBindingSupport.`checkSAML1MessageType(boolean expectRequest, SAMLObject message)`
Evaluate a SAML 1 message `SAMLObject` as to whether it is the expected message type (request vs response).
`static void`
SAMLBindingSupport.`checkSAML2MessageType(boolean expectRequest, SAMLObject message)`
Evaluate a SAML 2 message `SAMLObject` as to whether it is the expected message type (request vs response).
`static void`
SAMLBindingSupport.`evaluateMessageSizeLimit(boolean enforcementEnabled, Integer messageSizeLimit, Integer messageSize)`
Evaluate message size limit using the supplied parameters.
`static void`
SAMLBindingSupport.`evaluateMessageSizeLimit(boolean enforcementEnabled, Integer messageSizeLimit, Integer messageSize, String description)`
Evaluate message size limit using the supplied parameters.
`static Integer`
SAMLBindingSupport.`getDeflatedSize(String deflatedAndEncoded, boolean estimated, Float inflationFactor)`
Get the size of deflated and Base64-encoded data if it were decoded then inflated.
`static void`
SAMLBindingSupport.`validateMessageTypeValues(HttpServletRequest httpRequest, MessageType messageType)`
Validate that an HTTP request has a valid number of values for the specified message type.

## Uses of MessageDecodingException in org.opensaml.saml.common.binding.impl

Methods in org.opensaml.saml.common.binding.impl that throw MessageDecodingException
Modifier and Type
Method
Description
`protected void`
BaseSAMLHttpServletRequestDecoder.`evaluateMessageSizeLimit()`
Enforce the configured message size limit, if enabled.
`protected Integer`
BaseSAMLHttpServletRequestDecoder.`getMessageSize()`
Get the message size in bytes.
`protected Integer`
BaseSAMLHttpServletRequestDecoder.`getMessageSizeLimit()`
Get the configured message size limit, in bytes.
`protected MessageType`
BaseSAMLHttpServletRequestDecoder.`getMessageType()`
Get the type of message being processed by the decoder.
`protected boolean`
BaseSAMLHttpServletRequestDecoder.`isEnforceMessageSizeLimit()`
Get whether enforcement of message size limit is enabled.
`protected Integer`
BaseSAMLHttpServletRequestDecoder.`validateAndGetMessageSize()`
Validate message parameter values and return the message size in bytes.
`protected void`
BaseSAMLHttpServletRequestDecoder.`validateHttpRequest(HttpServletRequest request)`
Perform optional validation of the inbound `HttpServletRequest`.

## Uses of MessageDecodingException in org.opensaml.saml.saml1.binding.decoding.impl

Methods in org.opensaml.saml.saml1.binding.decoding.impl that throw MessageDecodingException
Modifier and Type
Method
Description
`protected void`
HTTPArtifactDecoder.`decodeTarget(MessageContext messageContext, HttpServletRequest request)`
Decodes the TARGET parameter and adds it to the message context.
`protected void`
HTTPArtifactDecoder.`doDecode()`
Performs the decoding logic.
`protected void`
HttpClientResponseSOAP11Decoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPPostDecoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPSOAP11Decoder.`doDecode()`
Performs the decoding logic.
`protected Integer`
HTTPPostDecoder.`getMessageSize()`
Get the message size in bytes.
`protected void`
HTTPArtifactDecoder.`processArtifacts(MessageContext messageContext, HttpServletRequest request)`
Process the incoming artifacts by decoding the artifacts, dereferencing them from the artifact source and storing the resulting response (with assertions) in the message context.

## Uses of MessageDecodingException in org.opensaml.saml.saml2.binding.decoding.impl

Methods in org.opensaml.saml.saml2.binding.decoding.impl that throw MessageDecodingException
Modifier and Type
Method
Description
`private String`
HTTPRedirectDeflateDecoder.`buildSignedContentString(String queryString, String samlMessageParamName, String samlMessage)`
Extract the raw request parameters and build a string representation of the content that was signed.
`protected InputStream`
HTTPRedirectDeflateDecoder.`decodeMessage(String message)`
Base64 decodes the SAML message and then decompresses the message.
`private SAMLObject`
HTTPArtifactDecoder.`dereferenceArtifact(SAML2Artifact artifact, RoleDescriptor peerRoleDescriptor, String endpoint)`
De-reference the supplied artifact into the corresponding SAML protocol message.
`protected void`
HTTPArtifactDecoder.`doDecode()`
Performs the decoding logic.
`protected void`
HttpClientResponseSOAP11Decoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPPostDecoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPPostSimpleSignDecoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPRedirectDeflateDecoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPSOAP11Decoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPPostSimpleSignDecoder.`evaluateMessageSizeLimit()`
Enforce the configured message size limit, if enabled.
`protected Pair<InputStream,String>`
HTTPPostDecoder.`getBase64DecodedMessage(HttpServletRequest request)`
Gets the Base64 encoded message from the request and decodes it.
`protected Integer`
HTTPPostDecoder.`getMessageSize()`
Get the message size in bytes.
`protected Integer`
HTTPRedirectDeflateDecoder.`getMessageSize()`
Get the message size in bytes.
`protected byte[]`
HTTPPostSimpleSignDecoder.`getSignedContent()`
Get the signed content data.
`private byte[]`
HTTPRedirectDeflateDecoder.`getSignedContent(String samlMessageParamName, String samlMessage)`
Get the signed content data.
`private SAML2Artifact`
HTTPArtifactDecoder.`parseArtifact(String encodedArtifact)`
Parse and decode the supplied encoded artifact string into a `SAML2Artifact` instance.
`protected void`
HTTPRedirectDeflateDecoder.`populateSimpleSignatureContext(MessageContext messageContext, String samlMessageParamName, String samlMessage)`
Build signed content string and populate the `SimpleSignatureContext`.
`private void`
HTTPArtifactDecoder.`processArtifact(MessageContext messageContext, HttpServletRequest request)`
Process the incoming artifact by decoding the artifacts, dereferencing it from the artifact issuer and storing the resulting protocol message in the message context.
`private String`
HTTPArtifactDecoder.`resolveArtifactEndpoint(SAML2Artifact artifact, RoleDescriptor peerRoleDescriptor)`
Resolve the artifact resolution endpoint of the peer who issued the artifact.
`private RoleDescriptor`
HTTPArtifactDecoder.`resolvePeerRoleDescriptor(SAML2Artifact artifact)`
Resolve the role descriptor of the SAML peer who issued the supplied artifact.
`private String`
HTTPArtifactDecoder.`resolveSelfEntityID(RoleDescriptor peerRoleDescriptor)`
Resolve the self entityID, used as the issuer of the protocol message by this entity.
`private SAMLObject`
HTTPArtifactDecoder.`validateAndExtractResponseMessage(ArtifactResponse artifactResponse)`
Validate and extract the SAML protocol message from the artifact response.

## Uses of MessageDecodingException in org.opensaml.soap.client.soap11.decoder.http.impl

Methods in org.opensaml.soap.client.soap11.decoder.http.impl that return MessageDecodingException
Modifier and Type
Method
Description
`protected MessageDecodingException`
HttpClientResponseSOAP11Decoder.`buildFaultException(org.apache.hc.core5.http.ClassicHttpResponse response)`
Build an exception by processing a fault response, i.e.
Methods in org.opensaml.soap.client.soap11.decoder.http.impl that throw MessageDecodingException
Modifier and Type
Method
Description
`protected MessageDecodingException`
HttpClientResponseSOAP11Decoder.`buildFaultException(org.apache.hc.core5.http.ClassicHttpResponse response)`
Build an exception by processing a fault response, i.e.
`protected void`
HttpClientResponseSOAP11Decoder.`doDecode()`
Performs the decoding logic.
`protected void`
HttpClientResponseSOAP11Decoder.`processSuccessResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, SOAP11Context soapContext)`
Process a successful response, i.e.
`protected InputStream`
HttpClientResponseSOAP11Decoder.`wrapInputStreamForSizeLimitEnforcement(InputStream responseIn)`
Check whether message size limit enforcement is enabled and wrap the passed input stream appropriately.

## Uses of MessageDecodingException in org.opensaml.soap.common

Subclasses of MessageDecodingException in org.opensaml.soap.common
Modifier and Type
Class
Description
`class`
`SOAP11FaultDecodingException`
Specialized message decoding exception type for carrying a SOAP 1.1 Fault element.

## Uses of MessageDecodingException in org.opensaml.soap.soap11.decoder.http.impl

Methods in org.opensaml.soap.soap11.decoder.http.impl that throw MessageDecodingException
Modifier and Type
Method
Description
`protected void`
HTTPSOAP11Decoder.`doDecode()`
Performs the decoding logic.
`protected void`
HTTPSOAP11Decoder.`validateHttpRequest(HttpServletRequest request)`
Perform optional validation of the inbound `HttpServletRequest`.