Package org.apache.http.auth.params
Class AuthParams
java.lang.Object
org.apache.http.auth.params.AuthParams
public final class AuthParams extends Object
This class implements an adaptor around the
HttpParams interface
to simplify manipulation of the HTTP authentication specific parameters.- Since:
- 4.0
- Version:
- $Revision: 618365 $
- Author:
- Oleg Kalnichevski
- See Also:
AuthPNames
-
Method Summary
Modifier and Type Method Description static StringgetCredentialCharset(HttpParams params)Obtains the charset for encodingCredentials.static voidsetCredentialCharset(HttpParams params, String charset)Sets the charset to be used when encodingCredentials.
-
Method Details
-
getCredentialCharset
Obtains the charset for encodingCredentials. If not configured,HTTP.DEFAULT_PROTOCOL_CHARSETis used instead.- Returns:
- The charset
- See Also:
AuthPNames.CREDENTIAL_CHARSET
-
setCredentialCharset
Sets the charset to be used when encodingCredentials.- Parameters:
charset- The charset
-