类 HessianServiceExporter
- java.lang.Object
- org.springframework.remoting.support.RemotingSupport
- org.springframework.remoting.support.RemoteExporter
- org.springframework.remoting.caucho.HessianExporter
- org.springframework.remoting.caucho.HessianServiceExporter
- 所有已实现的接口:
Aware
,BeanClassLoaderAware
,InitializingBean
,HttpRequestHandler
public class HessianServiceExporter extends HessianExporter implements HttpRequestHandler
Servlet-API-based HTTP request handler that exports the specified service bean as Hessian service endpoint, accessible via a Hessian proxy.Note: Spring also provides an alternative version of this exporter, for Sun's JRE 1.6 HTTP server:
SimpleHessianServiceExporter
.Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. Note: As of Spring 4.0, this exporter requires Hessian 4.0 or above.
Hessian services exported with this class can be accessed by any Hessian client, as there isn't any special handling involved.
- 从以下版本开始:
- 13.05.2003
- 作者:
- Juergen Hoeller
- 另请参阅:
HessianClientInterceptor
,HessianProxyFactoryBean
,HttpInvokerServiceExporter
,RmiServiceExporter
字段概要
从类继承的字段 org.springframework.remoting.caucho.HessianExporter
CONTENT_TYPE_HESSIAN
从类继承的字段 org.springframework.remoting.support.RemotingSupport
logger
构造器概要
构造器 构造器 说明 HessianServiceExporter()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
handleRequest(HttpServletRequest request, HttpServletResponse response)
Processes the incoming Hessian request and creates a Hessian response.从类继承的方法 org.springframework.remoting.caucho.HessianExporter
afterPropertiesSet, doInvoke, invoke, prepare, setAllowNonSerializable, setDebug, setRemoteResolver, setSendCollectionType, setSerializerFactory
从类继承的方法 org.springframework.remoting.support.RemoteExporter
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
从类继承的方法 org.springframework.remoting.support.RemotingSupport
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
构造器详细资料
HessianServiceExporter
public HessianServiceExporter()
方法详细资料
handleRequest
public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
Processes the incoming Hessian request and creates a Hessian response.- 指定者:
handleRequest
在接口中HttpRequestHandler
- 参数:
request
- current HTTP requestresponse
- current HTTP response- 抛出:
ServletException
- in case of general errorsIOException
- in case of I/O errors