open class HessianProxyFactoryBean : HessianClientInterceptor, FactoryBean<Any>
FactoryBean for Hessian proxies. Exposes the proxied service for use as a bean reference, using the specified service interface.
Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website Note: As of Spring 4.0, this proxy factory requires Hessian 4.0 or above.
The service URL must be an HTTP URL exposing a Hessian service. For details, see the HessianClientInterceptor javadoc.
Author
Juergen Hoeller
Since
13.05.2003
See Also
#setServiceInterface#setServiceUrlHessianClientInterceptorHessianServiceExporterorg.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBeanorg.springframework.remoting.rmi.RmiProxyFactoryBean
HessianProxyFactoryBean()
FactoryBean for Hessian proxies. Exposes the proxied service for use as a bean reference, using the specified service interface. Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website Note: As of Spring 4.0, this proxy factory requires Hessian 4.0 or above. The service URL must be an HTTP URL exposing a Hessian service. For details, see the HessianClientInterceptor javadoc. |
open fun afterPropertiesSet(): Unit |
|
open fun getObject(): Any |
|
open fun getObjectType(): Class<*> |
|
open fun isSingleton(): Boolean |
open fun invoke(invocation: MethodInvocation): Any |
|
open fun prepare(): Unit
Initialize the Hessian proxy for this interceptor. |
|
open fun setAllowNonSerializable(allowNonSerializable: Boolean): Unit
Set whether to allow non-serializable types as Hessian arguments and return values. Default is "true". |
|
open fun setChunkedPost(chunkedPost: Boolean): Unit
Set whether to use a chunked post for sending a Hessian request. |
|
open fun setConnectTimeout(timeout: Long): Unit
Set the socket connect timeout to use for the Hessian client. |
|
open fun setConnectionFactory(connectionFactory: HessianConnectionFactory): Unit
Specify a custom HessianConnectionFactory to use for the Hessian client. |
|
open fun setDebug(debug: Boolean): Unit
Set whether Hessian's debug mode should be enabled. Default is "false". |
|
open fun setHessian2(hessian2: Boolean): Unit
Set whether version 2 of the Hessian protocol should be used for parsing requests and replies. Default is "false". |
|
open fun setHessian2Reply(hessian2: Boolean): Unit
Set whether version 2 of the Hessian protocol should be used for parsing replies. Default is "false". |
|
open fun setHessian2Request(hessian2: Boolean): Unit
Set whether version 2 of the Hessian protocol should be used for parsing requests. Default is "false". |
|
open fun setOverloadEnabled(overloadEnabled: Boolean): Unit
Set whether overloaded methods should be enabled for remote invocations. Default is "false". |
|
open fun setPassword(password: String): Unit
Set the password that this factory should use to access the remote service. Default is none. The password will be sent by Hessian via HTTP Basic Authentication. |
|
open fun setProxyFactory(proxyFactory: HessianProxyFactory): Unit
Set the HessianProxyFactory instance to use. If not specified, a default HessianProxyFactory will be created. Allows to use an externally configured factory instance, in particular a custom HessianProxyFactory subclass. |
|
open fun setReadTimeout(timeout: Long): Unit
Set the timeout to use when waiting for a reply from the Hessian service. |
|
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 fun setUsername(username: String): Unit
Set the username that this factory should use to access the remote service. Default is none. The username will be sent by Hessian via HTTP Basic Authentication. |