Class DigestSchemeFactory
- java.lang.Object
-
- org.apache.hc.client5.http.impl.auth.DigestSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
@Contract(threading=STATELESS) public class DigestSchemeFactory extends java.lang.Object implements AuthSchemeFactory
AuthSchemeFactory
implementation that creates and initializesDigestScheme
instances.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.charset.Charset
charset
static DigestSchemeFactory
INSTANCE
Singleton instance.
-
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(org.apache.hc.core5.http.protocol.HttpContext context)
Creates an instance ofAuthScheme
.
-
-
-
Field Detail
-
INSTANCE
public static final DigestSchemeFactory INSTANCE
Singleton instance.
-
charset
private final java.nio.charset.Charset charset
-
-
Method Detail
-
create
public AuthScheme create(org.apache.hc.core5.http.protocol.HttpContext context)
Description copied from interface:AuthSchemeFactory
Creates an instance ofAuthScheme
.- Specified by:
create
in interfaceAuthSchemeFactory
- Returns:
- auth scheme.
-
-