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