The Spring Framework

Class SimpleHessianServiceExporter

  extended by
      extended by
          extended by org.springframework.remoting.caucho.HessianExporter
              extended by org.springframework.remoting.caucho.SimpleHessianServiceExporter
All Implemented Interfaces:
HttpHandler, BeanClassLoaderAware, InitializingBean

public class SimpleHessianServiceExporter
extends HessianExporter
implements 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 the HttpHandler interface.

Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. This exporter requires Hessian 3.0.20 or above.

Note: Hessian services exported with this class can be accessed by any Hessian client, as there isn't any special handling involved.

Juergen Hoeller
See Also:
HessianClientInterceptor, HessianProxyFactoryBean, SimpleBurlapServiceExporter, SimpleHttpInvokerServiceExporter

Field Summary
Fields inherited from class
Constructor Summary
Method Summary
 void handle(HttpExchange exchange)
          Processes the incoming Hessian request and creates a Hessian response.
Methods inherited from class org.springframework.remoting.caucho.HessianExporter
afterPropertiesSet, invoke, prepare, setDebug, setSendCollectionType, setSerializerFactory
Methods inherited from class
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, isRegisterTraceInterceptor, setRegisterTraceInterceptor, setService, setServiceInterface
Methods inherited from class
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SimpleHessianServiceExporter()
Method Detail


public void handle(HttpExchange exchange)
            throws IOException
Processes the incoming Hessian request and creates a Hessian response.

Specified by:
handle in interface HttpHandler

The Spring Framework

Copyright © 2002-2008 The Spring Framework.