Class AuthParams


  • @Contract(threading=IMMUTABLE)
    @Deprecated
    public final class AuthParams
    extends java.lang.Object
    Deprecated.
    (4.3) use RequestConfig and constructor parameters of AuthSchemeProviders.
    An adaptor for manipulating HTTP authentication parameters in HttpParams.
    Since:
    4.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AuthParams()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String getCredentialCharset​(org.apache.http.params.HttpParams params)
      Deprecated.
      Obtains the charset for encoding Credentials.If not configured, HTTP.DEFAULT_PROTOCOL_CHARSETis used instead.
      static void setCredentialCharset​(org.apache.http.params.HttpParams params, java.lang.String charset)
      Deprecated.
      Sets the charset to be used when encoding Credentials.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthParams

        private AuthParams()
        Deprecated.
    • Method Detail

      • getCredentialCharset

        public static java.lang.String getCredentialCharset​(org.apache.http.params.HttpParams params)
        Deprecated.
        Obtains the charset for encoding Credentials.If not configured, HTTP.DEFAULT_PROTOCOL_CHARSETis used instead.
        Returns:
        The charset
      • setCredentialCharset

        public static void setCredentialCharset​(org.apache.http.params.HttpParams params,
                                                java.lang.String charset)
        Deprecated.
        Sets the charset to be used when encoding Credentials.
        Parameters:
        charset - The charset