@Contract(threading=STATELESS) public class BearerSchemeFactory extends Object implements AuthSchemeFactory
AuthSchemeFactory
implementation that creates and initializes
BearerScheme
instances.Modifier and Type | Field and Description |
---|---|
static BearerSchemeFactory |
INSTANCE
Default instance of
BearerSchemeFactory . |
Constructor and Description |
---|
BearerSchemeFactory() |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
create(org.apache.hc.core5.http.protocol.HttpContext context)
Creates an instance of
AuthScheme . |
public static final BearerSchemeFactory INSTANCE
BearerSchemeFactory
.public AuthScheme create(org.apache.hc.core5.http.protocol.HttpContext context)
AuthSchemeFactory
AuthScheme
.create
in interface AuthSchemeFactory
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.