Top Fields Constructors Methods
org.apache.http.auth

public final Class AuthOption

extends Object
Class Inheritance
Annotations
@Contract
threading:IMMUTABLE
Imports
org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.util.Args

Since
4.2

Field Summary

Modifier and TypeField and Description
private final AuthScheme
private final Credentials

Constructor Summary

AccessConstructor and Description
public
AuthOption(final AuthScheme authScheme, final Credentials creds)

Method Summary

Modifier and TypeMethod and Description
public AuthScheme
public Credentials
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

authSchemeback to summary
private final AuthScheme authScheme
credsback to summary
private final Credentials creds

Constructor Detail

AuthOptionback to summary
public AuthOption(final AuthScheme authScheme, final Credentials creds)

Method Detail

getAuthSchemeback to summary
public AuthScheme getAuthScheme()
getCredentialsback to summary
public Credentials getCredentials()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override