public class CustomScheme extends SimpleAuthorizationScheme
Constructor and Description |
---|
CustomScheme(String name) |
Modifier and Type | Method and Description |
---|---|
org.apache.http.Header |
authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased, processChallenge
public CustomScheme(String name)
public org.apache.http.Header authenticate(org.apache.http.auth.Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
authenticate
in interface org.apache.http.auth.ContextAwareAuthScheme
authenticate
in class SimpleAuthorizationScheme