@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(Charset charset) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
create(org.apache.hc.core5.http.protocol.HttpContext context)
Creates an instance of
AuthScheme . |
public static final BasicSchemeFactory INSTANCE
public BasicSchemeFactory(Charset charset)
public BasicSchemeFactory()
public AuthScheme create(org.apache.hc.core5.http.protocol.HttpContext context)
AuthSchemeFactory
AuthScheme
.create
in interface AuthSchemeFactory
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.