Package org.opensaml.soap.config
Class SOAPConfigurationSupport
java.lang.Object
org.opensaml.soap.config.SOAPConfigurationSupport
Helper class for working with the registered instance of
SOAPConfiguration, as obtained from
the ConfigurationService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegerGet the SOAP message size limit.static booleanGet the flag indicating whether to enforce SOAP message size limits in the decoders.static voidsetDecoderSizeLimit(Integer limit) Set the SOAP message size limit.static voidsetEnforceDecoderSizeLimit(boolean flag) Set the flag indicating whether to enforce SOAP message size limits in the decoders.
-
Constructor Details
-
SOAPConfigurationSupport
private SOAPConfigurationSupport()Constructor.
-
-
Method Details
-
isEnforceDecoderSizeLimit
public static boolean isEnforceDecoderSizeLimit()Get the flag indicating whether to enforce SOAP message size limits in the decoders.- Returns:
- true if enforcement enabled, false if not
-
setEnforceDecoderSizeLimit
public static void setEnforceDecoderSizeLimit(boolean flag) Set the flag indicating whether to enforce SOAP message size limits in the decoders.- Parameters:
flag- true if enforcement enabled, false if not
-
getDecoderSizeLimit
Get the SOAP message size limit.- Returns:
- the limit in bytes
-
setDecoderSizeLimit
Set the SOAP message size limit.- Parameters:
limit- the limit in bytes
-