public class HttpClientRequestTransport extends Object implements BaseHttpRequestTransport
HTTP_CLIENT, HTTP_METHOD, POST_METHOD, REQUEST_CONTENT, REQUEST_URI, RESPONSE, RESPONSE_PROPERTIES
REQUEST_TRANSPORT, WSDL_REQUEST
Constructor and Description |
---|
HttpClientRequestTransport() |
Modifier and Type | Method and Description |
---|---|
void |
abortRequest(SubmitContext submitContext) |
void |
addRequestFilter(RequestFilter filter) |
<T> RequestFilter |
findFilterByType(Class<T> filterType) |
protected int |
getDefaultHttpPort(ExtendedHttpMethod httpMethod,
org.apache.http.client.HttpClient httpClient) |
protected HttpClientSupport.SoapUIHttpClient |
getSoapUIHttpClient() |
void |
insertRequestFilter(RequestFilter filter,
RequestFilter refFilter) |
<T> void |
removeRequestFilter(Class<T> filterClass) |
void |
removeRequestFilter(RequestFilter filterToRemove) |
<T> void |
replaceRequestFilter(Class<T> filterClass,
RequestFilter newFilter) |
Response |
sendRequest(SubmitContext submitContext,
Request request) |
protected org.apache.http.HttpResponse |
submitRequest(ExtendedHttpMethod httpMethod,
org.apache.http.protocol.HttpContext httpContext) |
public void addRequestFilter(RequestFilter filter)
addRequestFilter
in interface RequestTransport
public void removeRequestFilter(RequestFilter filterToRemove)
removeRequestFilter
in interface RequestTransport
public void insertRequestFilter(RequestFilter filter, RequestFilter refFilter)
insertRequestFilter
in interface RequestTransport
public <T> void removeRequestFilter(Class<T> filterClass)
public <T> void replaceRequestFilter(Class<T> filterClass, RequestFilter newFilter)
@CheckForNull public <T> RequestFilter findFilterByType(Class<T> filterType)
public void abortRequest(SubmitContext submitContext)
abortRequest
in interface RequestTransport
public Response sendRequest(SubmitContext submitContext, Request request) throws Exception
sendRequest
in interface RequestTransport
Exception
protected org.apache.http.HttpResponse submitRequest(ExtendedHttpMethod httpMethod, org.apache.http.protocol.HttpContext httpContext) throws IOException
IOException
protected HttpClientSupport.SoapUIHttpClient getSoapUIHttpClient()
protected int getDefaultHttpPort(ExtendedHttpMethod httpMethod, org.apache.http.client.HttpClient httpClient)
Copyright © 2019. All Rights Reserved.