@Contract(threading=STATELESS) public class BasicSchemeFactory extends Object implements AuthSchemeFactory
AuthSchemeFactory
implementation that creates and initializes
BasicScheme
instances.Modifier and Type | Field and Description |
---|---|
static BasicSchemeFactory |
INSTANCE
Singleton instance with a null Charset.
|
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 . |
public static final BasicSchemeFactory INSTANCE
public BasicSchemeFactory()
public BasicSchemeFactory(java.nio.charset.Charset charset)
public AuthScheme create(HttpContext context)
AuthSchemeFactory
AuthScheme
.create
in interface AuthSchemeFactory