Class MockHttpChallengeContext<O extends java.lang.Enum<O>,​F extends java.lang.Enum<F>>

    • Constructor Detail

      • MockHttpChallengeContext

        public MockHttpChallengeContext()
        Initiate.
    • Method Detail

      • getChallenge

        public java.lang.String getChallenge()
        Obtains the WWW-Authenticate challenge.
        Returns:
        Challenge.
      • addParameter

        public void addParameter​(java.lang.String name,
                                 java.lang.String value)
        Description copied from interface: HttpChallenge
        Adds a parameter to the HttpChallenge.
        Specified by:
        addParameter in interface HttpChallenge
        Parameters:
        name - Parameter name.
        value - Parameter value.