Top Description Fields Constructors Methods
org.apache.hc.client5.http.impl.auth

public Class BearerSchemeFactory

extends Object
implements AuthSchemeFactory
Class Inheritance
All Implemented Interfaces
org.apache.hc.client5.http.auth.AuthSchemeFactory
Annotations
@Contract
threading:STATELESS
Imports
org.apache.hc.client5.http.auth.AuthScheme, .AuthSchemeFactory, org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.apache.hc.core5.http.protocol.HttpContext

AuthSchemeFactory implementation that creates and initializes BearerScheme instances.
Since
5.3

Field Summary

Modifier and TypeField and Description
public static final BearerSchemeFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AuthScheme
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final BearerSchemeFactory INSTANCE

Constructor Detail

BearerSchemeFactoryback to summary
public BearerSchemeFactory()

Method Detail

createback to summary
public AuthScheme create(final HttpContext context)

Implements org.apache.hc.client5.http.auth.AuthSchemeFactory.create.

Doc from org.apache.hc.client5.http.auth.AuthSchemeFactory.create.

Creates an instance of AuthScheme.

Returns:AuthScheme

auth scheme.

Annotations
@Override