public abstract class ApacheHttpService
extends com.jdroid.java.http.AbstractHttpService
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
ApacheHttpService(HttpClientFactory httpClientFactory,
com.jdroid.java.http.Server server,
java.util.List<java.lang.Object> urlSegments,
java.util.List<com.jdroid.java.http.HttpServiceProcessor> httpServiceProcessors) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(org.apache.http.cookie.Cookie cookie) |
protected void |
addCookies(org.apache.http.client.HttpClient client) |
protected abstract org.apache.http.client.methods.HttpUriRequest |
createHttpUriRequest(java.lang.String url)
Create the
HttpUriRequest to send. |
protected com.jdroid.java.http.HttpResponseWrapper |
doExecute(java.lang.String url) |
protected void |
doFinally() |
addHeader, addHttpServiceProcessor, addQueryParameter, addQueryParameter, addUrlSegment, execute, execute, getConnectionTimeout, getHeaders, getHeaderValue, getHttpMethod, getQueryParameters, getReadTimeout, getServer, getUrl, getUrlSegments, getUrlSuffix, getUserAgent, isSsl, makeStringParameters, setConnectionTimeout, setReadTimeout, setSsl, setUserAgent, toStringpublic ApacheHttpService(HttpClientFactory httpClientFactory, com.jdroid.java.http.Server server, java.util.List<java.lang.Object> urlSegments, java.util.List<com.jdroid.java.http.HttpServiceProcessor> httpServiceProcessors)
protected com.jdroid.java.http.HttpResponseWrapper doExecute(java.lang.String url)
doExecute in class com.jdroid.java.http.AbstractHttpServiceprotected void doFinally()
doFinally in class com.jdroid.java.http.AbstractHttpServicepublic void addCookie(org.apache.http.cookie.Cookie cookie)
protected void addCookies(org.apache.http.client.HttpClient client)
protected abstract org.apache.http.client.methods.HttpUriRequest createHttpUriRequest(java.lang.String url)
HttpUriRequest to send.url - The url to execute