@FunctionalInterface interface HttpInvokerRequestExecutor
Strategy interface for actual execution of an HTTP invoker request. Used by HttpInvokerClientInterceptor and its subclass HttpInvokerProxyFactoryBean.
Two implementations are provided out of the box:
SimpleHttpInvokerRequestExecutor: Uses JDK facilities to execute POST requests, without support for HTTP authentication or advanced configuration options. HttpComponentsHttpInvokerRequestExecutor: Uses Apache's Commons HttpClient to execute POST requests, allowing to use a preconfigured HttpClient instance (potentially with authentication, HTTP connection pooling, etc). Author
Juergen Hoeller
Since
1.1
See Also
HttpInvokerClientInterceptor#setHttpInvokerRequestExecutor
abstract fun executeRequest(config: HttpInvokerClientConfiguration, invocation: RemoteInvocation): RemoteInvocationResult
Execute a request to send the given remote invocation. |