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 Charsetstatic final BasicSchemeFactorySingleton 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:AuthSchemeFactoryCreates an instance ofAuthScheme.- Specified by:
createin interfaceAuthSchemeFactory- Returns:
- auth scheme.
-