open class HessianServiceExporter : HessianExporter, 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.
Author
Juergen Hoeller
Since
13.05.2003
See Also
HessianClientInterceptorHessianProxyFactoryBeanorg.springframework.remoting.httpinvoker.HttpInvokerServiceExporterorg.springframework.remoting.rmi.RmiServiceExporter
HessianServiceExporter()
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. |
static val CONTENT_TYPE_HESSIAN: String |
open fun handleRequest(request: HttpServletRequest, response: HttpServletResponse): Unit
Processes the incoming Hessian request and creates a Hessian response. |
open fun afterPropertiesSet(): Unit |
|
open fun invoke(inputStream: InputStream, outputStream: OutputStream): Unit
Perform an invocation on the exported object. |
|
open fun prepare(): Unit
Initialize this exporter. |
|
open fun setAllowNonSerializable(allowNonSerializable: Boolean): Unit
Set whether to allow non-serializable types as Hessian arguments and return values. Default is "true". |
|
open fun setDebug(debug: Boolean): Unit
Set whether Hessian's debug mode should be enabled, logging to this exporter's Commons Logging log. Default is "false". |
|
open fun setRemoteResolver(remoteResolver: HessianRemoteResolver): Unit
Specify a custom HessianRemoteResolver to use for resolving remote object references. |
|
open fun setSendCollectionType(sendCollectionType: Boolean): Unit
Set whether to send the Java collection type for each serialized collection. Default is "true". |
|
open fun setSerializerFactory(serializerFactory: SerializerFactory): Unit
Specify the Hessian SerializerFactory to use. This will typically be passed in as an inner bean definition of type |