Package org.apache.http.impl.auth
Class DigestSchemeFactory
- java.lang.Object
-
- org.apache.http.impl.auth.DigestSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
,AuthSchemeProvider
@Contract(threading=IMMUTABLE) public class DigestSchemeFactory extends java.lang.Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializesDigestScheme
instances.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description DigestSchemeFactory()
DigestSchemeFactory(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.
-
-