public class HttpConnector extends Object implements Connector
| Modifier and Type | Field and Description |
|---|---|
protected String |
basicAuth |
protected org.apache.http.protocol.HttpContext |
ctx |
protected org.apache.http.impl.client.AbstractHttpClient |
http |
int |
webServiceTimeOut |
| Constructor and Description |
|---|
HttpConnector(org.apache.http.client.HttpClient http) |
HttpConnector(org.apache.http.client.HttpClient http,
org.apache.http.protocol.HttpContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Request request) |
protected Object |
execute(Request request,
org.apache.http.client.methods.HttpUriRequest httpReq) |
org.apache.http.HttpResponse |
getTimeoutRequest(org.apache.http.client.methods.HttpUriRequest httpReq)
Get timeout request.
|
protected final org.apache.http.impl.client.AbstractHttpClient http
protected final org.apache.http.protocol.HttpContext ctx
protected String basicAuth
public int webServiceTimeOut
public HttpConnector(org.apache.http.client.HttpClient http)
public HttpConnector(org.apache.http.client.HttpClient http,
org.apache.http.protocol.HttpContext ctx)
Copyright © 2019. All rights reserved.