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 a HttpPost for the given configuration.
|
protected org.apache.commons.httpclient.methods.PostMethod |
CommonsHttpInvokerRequestExecutor.createPostMethod(HttpInvokerClientConfiguration config)
Create a PostMethod for the given configuration.
|
protected abstract RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute a request to send the given serialized remote invocation.
|
protected RemoteInvocationResult |
CommonsHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute the given request through Commons HttpClient.
|
protected RemoteInvocationResult |
SimpleHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute the given request through a standard J2SE HttpURLConnection.
|
protected RemoteInvocationResult |
HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute the given request through the HttpClient.
|
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.
|
protected void |
CommonsHttpInvokerRequestExecutor.executePostMethod(HttpInvokerClientConfiguration config,
org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.methods.PostMethod postMethod)
Execute the given PostMethod instance.
|
RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.executeRequest(HttpInvokerClientConfiguration config,
RemoteInvocation invocation) |
RemoteInvocationResult |
HttpInvokerRequestExecutor.executeRequest(HttpInvokerClientConfiguration config,
RemoteInvocation invocation)
Execute a request to send the given remote invocation.
|
protected InputStream |
HttpComponentsHttpInvokerRequestExecutor.getResponseBody(HttpInvokerClientConfiguration config,
org.apache.http.HttpResponse httpResponse)
Extract the response body from the given executed remote invocation request.
|
protected InputStream |
CommonsHttpInvokerRequestExecutor.getResponseBody(HttpInvokerClientConfiguration config,
org.apache.commons.httpclient.methods.PostMethod postMethod)
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 |
CommonsHttpInvokerRequestExecutor.setRequestBody(HttpInvokerClientConfiguration config,
org.apache.commons.httpclient.methods.PostMethod postMethod,
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 |
CommonsHttpInvokerRequestExecutor.validateResponse(HttpInvokerClientConfiguration config,
org.apache.commons.httpclient.methods.PostMethod postMethod)
Validate the given response as contained in the PostMethod 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.
|
Copyright © 2015. All rights reserved.