public abstract class AbstractAuthMethod extends java.lang.Object implements AuthMethod
| Constructor and Description |
|---|
AbstractAuthMethod() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.RequestBuilder |
applyAsBasicAuth(org.apache.http.client.methods.RequestBuilder request)
Apply the authentication to the header as basic authentication.
|
org.apache.http.client.methods.RequestBuilder |
applyAsJsonProperties(org.apache.http.client.methods.RequestBuilder request)
Apply the authentication by adding it to the entity payload.
|
int |
compareTo(AuthMethod other) |
abstract int |
getSortKey() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic AbstractAuthMethod()
public int compareTo(AuthMethod other)
compareTo in interface java.lang.Comparable<AuthMethod>public abstract int getSortKey()
getSortKey in interface AuthMethodpublic org.apache.http.client.methods.RequestBuilder applyAsBasicAuth(org.apache.http.client.methods.RequestBuilder request)
AuthMethodapplyAsBasicAuth in interface AuthMethodrequest - The request being builtpublic org.apache.http.client.methods.RequestBuilder applyAsJsonProperties(org.apache.http.client.methods.RequestBuilder request)
AuthMethodapplyAsJsonProperties in interface AuthMethodrequest - The request being built