public interface HttpInvokerRequestExecutor
Two implementations are provided out of the box:
HttpInvokerClientInterceptor.setHttpInvokerRequestExecutor(org.springframework.remoting.httpinvoker.HttpInvokerRequestExecutor)
Modifier and Type | Method and Description |
---|---|
RemoteInvocationResult |
executeRequest(HttpInvokerClientConfiguration config,
RemoteInvocation invocation)
Execute a request to send the given remote invocation.
|
RemoteInvocationResult executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation) throws Exception
config
- the HTTP invoker configuration that specifies the
target serviceinvocation
- the RemoteInvocation to executeIOException
- if thrown by I/O operationsClassNotFoundException
- if thrown during deserializationException
- in case of general errors