Class SOAP11Context

  • All Implemented Interfaces:
    Iterable<org.opensaml.messaging.context.BaseContext>

    public final class SOAP11Context
    extends org.opensaml.messaging.context.BaseContext
    Subcontext that carries information about the SOAP 1.1 message transport.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext

        org.opensaml.messaging.context.BaseContext.ContextSetNoRemoveIteratorDecorator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Envelope envelope
      The SAML protocol in use.
      private Fault fault
      SOAP 1.1 Fault related to the current message processing context.
      private Integer httpResponseStatus
      The HTTP response status code to return.
    • Constructor Summary

      Constructors 
      Constructor Description
      SOAP11Context()  
    • Field Detail

      • envelope

        private Envelope envelope
        The SAML protocol in use.
      • fault

        private Fault fault
        SOAP 1.1 Fault related to the current message processing context.
      • httpResponseStatus

        private Integer httpResponseStatus
        The HTTP response status code to return.
    • Constructor Detail

      • SOAP11Context

        public SOAP11Context()
    • Method Detail

      • getEnvelope

        @Nullable
        public Envelope getEnvelope()
        Gets the current SOAP 1.1 Envelope.
        Returns:
        current SOAP 1.1 Envelope, may be null
      • setEnvelope

        public void setEnvelope​(@Nullable
                                Envelope newEnvelope)
        Sets the current SOAP 1.1 Envelope.
        Parameters:
        newEnvelope - the current SOAP 1.1 Envelope
      • getFault

        @Nullable
        public Fault getFault()
        Get the current SOAP 1.1 Fault related to the current message processing context.
        Returns:
        the current SOAP 1.1 Fault, may be null
      • setFault

        public void setFault​(@Nullable
                             Fault newFault)
        Set the current SOAP 1.1 Fault related to the current message processing context.
        Parameters:
        newFault - the new Fault
      • getHTTPResponseStatus

        @Nullable
        public Integer getHTTPResponseStatus()
        Get the optional HTTP response status code to return.
        Returns:
        HTTP response status code, may be null
      • setHTTPResponseStatus

        public void setHTTPResponseStatus​(@Nullable
                                          Integer status)
        Set the optional HTTP response status code to return.
        Parameters:
        status - the HTTP response status code, may be null