@Immutable public class BasicSchemeFactory extends java.lang.Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializes
BasicScheme
instances.Constructor and Description |
---|
BasicSchemeFactory() |
BasicSchemeFactory(java.nio.charset.Charset charset) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
create(HttpContext context)
Creates an instance of
AuthScheme . |
AuthScheme |
newInstance(HttpParams params)
Creates an instance of
AuthScheme using given HTTP parameters. |
public BasicSchemeFactory(java.nio.charset.Charset charset)
public BasicSchemeFactory()
public AuthScheme newInstance(HttpParams params)
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(HttpContext context)
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider