Class BearerSchemeFactory
java.lang.Object
org.apache.hc.client5.http.impl.auth.BearerSchemeFactory
- All Implemented Interfaces:
AuthSchemeFactory
@Contract(threading=STATELESS)
public class BearerSchemeFactory
extends Object
implements AuthSchemeFactory
AuthSchemeFactory
implementation that creates and initializes
BearerScheme
instances.- Since:
- 5.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.apache.hc.core5.http.protocol.HttpContext context) Creates an instance ofAuthScheme
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BearerSchemeFactory
public BearerSchemeFactory()
-
-
Method Details
-
create
Description copied from interface:AuthSchemeFactory
Creates an instance ofAuthScheme
.- Specified by:
create
in interfaceAuthSchemeFactory
- Returns:
- auth scheme.
-