站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

HttpInvokerRequestExecutor (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.remoting.httpinvoker
Interface HttpInvokerRequestExecutor

All Known Implementing Classes:
AbstractHttpInvokerRequestExecutor, CommonsHttpInvokerRequestExecutor, SimpleHttpInvokerRequestExecutor

public 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:

Since:
1.1
Author:
Juergen Hoeller
See Also:
HttpInvokerClientInterceptor.setHttpInvokerRequestExecutor(org.springframework.remoting.httpinvoker.HttpInvokerRequestExecutor)

Method Summary
 RemoteInvocationResult executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)
          Execute a request to send the given remote invocation.
 

Method Detail

executeRequest

RemoteInvocationResult executeRequest(HttpInvokerClientConfiguration config,
                                      RemoteInvocation invocation)
                                      throws Exception
Execute a request to send the given remote invocation.

Parameters:
config - the HTTP invoker configuration that specifies the target service
invocation - the RemoteInvocation to execute
Returns:
the RemoteInvocationResult object
Throws:
IOException - if thrown by I/O operations
ClassNotFoundException - if thrown during deserialization
Exception - in case of general errors

The Spring Framework

Copyright © 2002-2007 The Spring Framework.