open class HessianExporter : RemoteExporter, InitializingBean
General stream-based protocol exporter for a Hessian endpoint.
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.
Author
Juergen Hoeller
Since
2.5.1
See Also
#invoke(java.io.InputStream, java.io.OutputStream)HessianServiceExporterSimpleHessianServiceExporter
HessianExporter()
General stream-based protocol exporter for a Hessian endpoint. 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. |
static val CONTENT_TYPE_HESSIAN: String |
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 |
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. |
|
open class SimpleHessianServiceExporter : HessianExporter, 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 com.sun.net.httpserver.HttpHandler 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. |