Package org.apache.http.impl.auth
Class BasicSchemeFactory
- java.lang.Object
-
- org.apache.http.impl.auth.BasicSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
,AuthSchemeProvider
@Contract(threading=IMMUTABLE) public class BasicSchemeFactory extends java.lang.Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializesBasicScheme
instances.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description BasicSchemeFactory()
BasicSchemeFactory(java.nio.charset.Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthScheme
create(HttpContext context)
Creates an instance ofAuthScheme
.AuthScheme
newInstance(HttpParams params)
Creates an instance ofAuthScheme
using given HTTP parameters.
-
-
-
Method Detail
-
newInstance
public AuthScheme newInstance(HttpParams params)
Description copied from interface:AuthSchemeFactory
Creates an instance ofAuthScheme
using given HTTP parameters.- Specified by:
newInstance
in interfaceAuthSchemeFactory
- Parameters:
params
- HTTP parameters.- Returns:
- auth scheme.
-
create
public AuthScheme create(HttpContext context)
Description copied from interface:AuthSchemeProvider
Creates an instance ofAuthScheme
.- Specified by:
create
in interfaceAuthSchemeProvider
- Returns:
- auth scheme.
-
-