public class FormLoginUrlFetcher extends SimpleUrlFetcher
| Constructor and Description |
|---|
FormLoginUrlFetcher(String loadPath,
String loginPath,
String login,
String password,
String loginField,
String passwordField) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
fetchFromUrl(org.apache.http.impl.client.CloseableHttpClient client,
String base,
String name,
long ifModifiedSince) |
protected org.apache.http.client.methods.HttpPost |
postProcessLogin(org.apache.http.client.methods.HttpPost login) |
protected void |
postProcessLoginParameters(List<org.apache.http.NameValuePair> parameters) |
encodeUrl, postProcessGetpublic InputStream fetchFromUrl(org.apache.http.impl.client.CloseableHttpClient client, String base, String name, long ifModifiedSince)
fetchFromUrl in interface UrlFetcherfetchFromUrl in class SimpleUrlFetcherprotected void postProcessLoginParameters(List<org.apache.http.NameValuePair> parameters)
protected org.apache.http.client.methods.HttpPost postProcessLogin(org.apache.http.client.methods.HttpPost login)
Copyright © 2015–2017. All rights reserved.