Top Description Fields Constructors Methods
org.apache.http.impl.auth

public Class BasicSchemeFactory

extends Object
implements AuthSchemeFactory, AuthSchemeProvider
Class Inheritance
All Implemented Interfaces
org.apache.http.auth.AuthSchemeProvider, org.apache.http.auth.AuthSchemeFactory
Annotations
@Contract
threading:IMMUTABLE
@SuppressWarnings:deprecation
Imports
java.nio.charset.Charset, org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.auth.AuthScheme, .AuthSchemeFactory, .AuthSchemeProvider, org.apache.http.params.HttpParams, org.apache.http.protocol.HttpContext

Deprecated

as a consequence of AuthSchemeFactory being deprecated. See corresponding docs for further information.

AuthSchemeProvider implementation that creates and initializes BasicScheme instances.
Since
4.0

Field Summary

Modifier and TypeField and Description
private final Charset

Constructor Summary

AccessConstructor and Description
public
BasicSchemeFactory(final Charset charset)

public

Method Summary

Modifier and TypeMethod and Description
public AuthScheme
create(final HttpContext context)

Implements org.apache.http.auth.AuthSchemeProvider.create.

Creates an instance of AuthScheme.
public AuthScheme
newInstance(final HttpParams
HTTP parameters.
params
)

Implements org.apache.http.auth.AuthSchemeFactory.newInstance.

Deprecated as a consequence of HttpParams being deprecated.
Creates an instance of AuthScheme using given HTTP parameters.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

charsetback to summary
private final Charset charset

Constructor Detail

BasicSchemeFactoryback to summary
public BasicSchemeFactory(final Charset charset)
Since
4.3
BasicSchemeFactoryback to summary
public BasicSchemeFactory()

Method Detail

createback to summary
public AuthScheme create(final HttpContext context)

Implements org.apache.http.auth.AuthSchemeProvider.create.

Doc from org.apache.http.auth.AuthSchemeProvider.create.

Creates an instance of AuthScheme.

Returns:AuthScheme

auth scheme.

Annotations
@Override
newInstanceback to summary
public AuthScheme newInstance(final HttpParams params)

Implements org.apache.http.auth.AuthSchemeFactory.newInstance.

Doc from org.apache.http.auth.AuthSchemeFactory.newInstance.

Deprecated

as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Creates an instance of AuthScheme using given HTTP parameters.

Parameters
params:HttpParams

HTTP parameters.

Returns:AuthScheme

auth scheme.

Annotations
@Override