类 SimpleHessianServiceExporter
- java.lang.Object
- org.springframework.remoting.support.RemotingSupport
- org.springframework.remoting.support.RemoteExporter
- org.springframework.remoting.caucho.HessianExporter
- org.springframework.remoting.caucho.SimpleHessianServiceExporter
- 所有已实现的接口:
com.sun.net.httpserver.HttpHandler
,Aware
,BeanClassLoaderAware
,InitializingBean
@UsesSunHttpServer public class SimpleHessianServiceExporter extends HessianExporter implements com.sun.net.httpserver.HttpHandler
HTTP request handler that exports the specified service bean as Hessian service endpoint, accessible via a Hessian proxy. Designed for Sun's JRE 1.6 HTTP server, implementing theHttpHandler
interface.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.
- 从以下版本开始:
- 2.5.1
- 作者:
- Juergen Hoeller
- 另请参阅:
HessianClientInterceptor
,HessianProxyFactoryBean
,SimpleHttpInvokerServiceExporter
字段概要
从类继承的字段 org.springframework.remoting.caucho.HessianExporter
CONTENT_TYPE_HESSIAN
从类继承的字段 org.springframework.remoting.support.RemotingSupport
logger
构造器概要
构造器 构造器 说明 SimpleHessianServiceExporter()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
handle(com.sun.net.httpserver.HttpExchange exchange)
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
构造器详细资料
SimpleHessianServiceExporter
public SimpleHessianServiceExporter()
方法详细资料
handle
public void handle(com.sun.net.httpserver.HttpExchange exchange) throws IOException
Processes the incoming Hessian request and creates a Hessian response.- 指定者:
handle
在接口中com.sun.net.httpserver.HttpHandler
- 抛出:
IOException