@Contract(threading=STATELESS) public class DigestSchemeFactory extends Object implements AuthSchemeFactory
AuthSchemeFactory implementation that creates and initializes
 DigestScheme instances.| Modifier and Type | Field and Description | 
|---|---|
| static DigestSchemeFactory | INSTANCEDefault instance of  DigestSchemeFactory. | 
| Constructor and Description | 
|---|
| DigestSchemeFactory() | 
| DigestSchemeFactory(Charset charset)Deprecated. 
 This constructor is deprecated to enforce the use of  StandardCharsets.UTF_8encoding
 in compliance with RFC 7616 for HTTP Digest Access Authentication. Use the default constructorDigestSchemeFactory()instead. | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthScheme | create(org.apache.hc.core5.http.protocol.HttpContext context)Creates an instance of  AuthScheme. | 
public static final DigestSchemeFactory INSTANCE
DigestSchemeFactory.@Deprecated public DigestSchemeFactory(Charset charset)
StandardCharsets.UTF_8 encoding
 in compliance with RFC 7616 for HTTP Digest Access Authentication. Use the default constructor DigestSchemeFactory() instead.charset - the Charset set to be used for encoding credentials. This parameter is ignored as UTF-8 is always used.public DigestSchemeFactory()
public AuthScheme create(org.apache.hc.core5.http.protocol.HttpContext context)
AuthSchemeFactoryAuthScheme.create in interface AuthSchemeFactoryCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.