Class BasicSchemeFactory
java.lang.Object
org.apache.hc.client5.http.impl.auth.BasicSchemeFactory
- All Implemented Interfaces:
AuthSchemeFactory
@Contract(threading=STATELESS)
public class BasicSchemeFactory
extends Object
implements AuthSchemeFactory
AuthSchemeFactory
implementation that creates and initializes
BasicScheme
instances.- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Charset
static final BasicSchemeFactory
Singleton instance with a null Charset. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.apache.hc.core5.http.protocol.HttpContext context) Creates an instance ofAuthScheme
.
-
Field Details
-
INSTANCE
Singleton instance with a null Charset. -
charset
-
-
Constructor Details
-
BasicSchemeFactory
- Since:
- 4.3
-
BasicSchemeFactory
public BasicSchemeFactory()
-
-
Method Details
-
create
Description copied from interface:AuthSchemeFactory
Creates an instance ofAuthScheme
.- Specified by:
create
in interfaceAuthSchemeFactory
- Returns:
- auth scheme.
-