public class LoginHandler
extends java.lang.Object
| Constructor and Description |
|---|
LoginHandler(SubstitutionScheduleData scheduleData,
Credential auth,
CookieProvider cookieProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleLogin(org.apache.http.client.fluent.Executor executor,
org.apache.http.client.CookieStore cookieStore) |
java.lang.String |
handleLogin(org.apache.http.client.fluent.Executor executor,
org.apache.http.client.CookieStore cookieStore,
boolean needsResponse) |
java.lang.String |
handleLoginWithResponse(org.apache.http.client.fluent.Executor executor,
org.apache.http.client.CookieStore cookieStore) |
public LoginHandler(SubstitutionScheduleData scheduleData, Credential auth, @Nullable CookieProvider cookieProvider)
public void handleLogin(org.apache.http.client.fluent.Executor executor,
org.apache.http.client.CookieStore cookieStore)
throws org.json.JSONException,
java.io.IOException,
CredentialInvalidException
org.json.JSONExceptionjava.io.IOExceptionCredentialInvalidExceptionpublic java.lang.String handleLoginWithResponse(org.apache.http.client.fluent.Executor executor,
org.apache.http.client.CookieStore cookieStore)
throws org.json.JSONException,
java.io.IOException,
CredentialInvalidException
org.json.JSONExceptionjava.io.IOExceptionCredentialInvalidExceptionpublic java.lang.String handleLogin(org.apache.http.client.fluent.Executor executor,
org.apache.http.client.CookieStore cookieStore,
boolean needsResponse)
throws org.json.JSONException,
java.io.IOException,
CredentialInvalidException
org.json.JSONExceptionjava.io.IOExceptionCredentialInvalidException