Package | Description |
---|---|
org.springframework.remoting.httpinvoker |
Remoting classes for transparent Java-to-Java remoting via HTTP invokers.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpInvokerClientInterceptor
MethodInterceptor for accessing an
HTTP invoker service. |
class |
HttpInvokerProxyFactoryBean
FactoryBean for HTTP invoker proxies. |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpPost |
HttpComponentsHttpInvokerRequestExecutor.createHttpPost(HttpInvokerClientConfiguration config)
Create an HttpPost for the given configuration.
|
protected org.apache.http.client.config.RequestConfig |
HttpComponentsHttpInvokerRequestExecutor.createRequestConfig(HttpInvokerClientConfiguration config)
Create a
RequestConfig for the given configuration. |
protected RemoteInvocationResult |
HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute the given request through the HttpClient.
|
protected RemoteInvocationResult |
SimpleHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute the given request through a standard
HttpURLConnection . |
protected abstract RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute a request to send the given serialized remote invocation.
|
protected org.apache.http.HttpResponse |
HttpComponentsHttpInvokerRequestExecutor.executeHttpPost(HttpInvokerClientConfiguration config,
org.apache.http.client.HttpClient httpClient,
org.apache.http.client.methods.HttpPost httpPost)
Execute the given HttpPost instance.
|
RemoteInvocationResult |
HttpInvokerRequestExecutor.executeRequest(HttpInvokerClientConfiguration config,
RemoteInvocation invocation)
Execute a request to send the given remote invocation.
|
RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.executeRequest(HttpInvokerClientConfiguration config,
RemoteInvocation invocation) |
protected InputStream |
HttpComponentsHttpInvokerRequestExecutor.getResponseBody(HttpInvokerClientConfiguration config,
org.apache.http.HttpResponse httpResponse)
Extract the response body from the given executed remote invocation request.
|
protected HttpURLConnection |
SimpleHttpInvokerRequestExecutor.openConnection(HttpInvokerClientConfiguration config)
Open an
HttpURLConnection for the given remote invocation request. |
protected InputStream |
SimpleHttpInvokerRequestExecutor.readResponseBody(HttpInvokerClientConfiguration config,
HttpURLConnection con)
Extract the response body from the given executed remote invocation
request.
|
protected void |
HttpComponentsHttpInvokerRequestExecutor.setRequestBody(HttpInvokerClientConfiguration config,
org.apache.http.client.methods.HttpPost httpPost,
ByteArrayOutputStream baos)
Set the given serialized remote invocation as request body.
|
protected void |
HttpComponentsHttpInvokerRequestExecutor.validateResponse(HttpInvokerClientConfiguration config,
org.apache.http.HttpResponse response)
Validate the given response as contained in the HttpPost object,
throwing an exception if it does not correspond to a successful HTTP response.
|
protected void |
SimpleHttpInvokerRequestExecutor.validateResponse(HttpInvokerClientConfiguration config,
HttpURLConnection con)
Validate the given response as contained in the
HttpURLConnection object,
throwing an exception if it does not correspond to a successful HTTP response. |
protected void |
SimpleHttpInvokerRequestExecutor.writeRequestBody(HttpInvokerClientConfiguration config,
HttpURLConnection con,
ByteArrayOutputStream baos)
Set the given serialized remote invocation as request body.
|