Class ScramSchemeFactory
- java.lang.Object
-
- org.apache.hc.client5.http.impl.auth.ScramSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
@Experimental public final class ScramSchemeFactory extends java.lang.Object implements AuthSchemeFactory
Factory for creating instances ofScramScheme.- Since:
- 5.6
-
-
Field Summary
Fields Modifier and Type Field Description static ScramSchemeFactoryINSTANCESingleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateScramSchemeFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthSchemecreate(org.apache.hc.core5.http.protocol.HttpContext context)Creates a newScramScheme.
-
-
-
Field Detail
-
INSTANCE
public static final ScramSchemeFactory INSTANCE
Singleton instance.
-
-
Method Detail
-
create
public AuthScheme create(org.apache.hc.core5.http.protocol.HttpContext context)
Creates a newScramScheme.- Specified by:
createin interfaceAuthSchemeFactory- Parameters:
context- the HTTP context (unused)- Returns:
- a new
ScramSchemeinstance - Since:
- 5.6
-
-