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 Object
implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializes
BasicScheme
instances.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(HttpContext context) Creates an instance ofAuthScheme
.newInstance
(HttpParams params) Creates an instance ofAuthScheme
using given HTTP parameters.
-
Constructor Details
-
BasicSchemeFactory
- Since:
- 4.3
-
BasicSchemeFactory
public BasicSchemeFactory()
-
-
Method Details
-
newInstance
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
Description copied from interface:AuthSchemeProvider
Creates an instance ofAuthScheme
.- Specified by:
create
in interfaceAuthSchemeProvider
- Returns:
- auth scheme.
-