@Contract(threading=IMMUTABLE) public class BasicSchemeFactory extends Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializes
BasicScheme
instances.Constructor and Description |
---|
BasicSchemeFactory() |
BasicSchemeFactory(Charset charset) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
create(org.apache.http.protocol.HttpContext context)
Creates an instance of
AuthScheme . |
AuthScheme |
newInstance(org.apache.http.params.HttpParams params)
Creates an instance of
AuthScheme using given HTTP parameters. |
public BasicSchemeFactory(Charset charset)
public BasicSchemeFactory()
public AuthScheme newInstance(org.apache.http.params.HttpParams params)
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(org.apache.http.protocol.HttpContext context)
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.