java.lang.Object | ||||
↳ | org.springframework.remoting.support.RemotingSupport | |||
↳ | org.springframework.remoting.support.RemoteAccessor | |||
↳ | org.springframework.remoting.support.UrlBasedRemoteAccessor | |||
↳ | org.springframework.remoting.caucho.HessianClientInterceptor |
Known Direct Subclasses |
org.aopalliance.intercept.MethodInterceptor for accessing a Hessian service. Supports authentication via username and password. The service URL must be an HTTP URL exposing a Hessian service.
Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website
Note: There is no requirement for services accessed with this proxy factory
to have been exported using Spring's HessianServiceExporter
, as there is
no special handling involved. As a consequence, you can also access services that
have been exported using Caucho's com.caucho.hessian.server.HessianServlet.
setServiceInterface(Class)
setServiceUrl(String)
setUsername(String)
setPassword(String)
HessianServiceExporter
HessianProxyFactoryBean
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.RemotingSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
| |||||||||||
Initialize the Hessian proxy for this interceptor.
| |||||||||||
Set whether to use a chunked post for sending a Hessian request.
| |||||||||||
Set whether Hessian's debug mode should be enabled.
| |||||||||||
Set whether version 2 of the Hessian protocol should be used for
parsing requests and replies.
| |||||||||||
Set whether version 2 of the Hessian protocol should be used for
parsing replies.
| |||||||||||
Set whether version 2 of the Hessian protocol should be used for
parsing requests.
| |||||||||||
Set whether overloaded methods should be enabled for remote invocations.
| |||||||||||
Set the password that this factory should use to access the remote service.
| |||||||||||
Set the HessianProxyFactory instance to use.
| |||||||||||
Set the timeout to use when waiting for a reply from the Hessian service.
| |||||||||||
Set whether to send the Java collection type for each serialized
collection.
| |||||||||||
Specify the Hessian SerializerFactory to use.
| |||||||||||
Set the username that this factory should use to access the remote service.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convert the given Hessian access exception to an appropriate
Spring RemoteAccessException.
| |||||||||||
Create the Hessian proxy that is wrapped by this interceptor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.UrlBasedRemoteAccessor
| |||||||||||
From class
org.springframework.remoting.support.RemoteAccessor
| |||||||||||
From class
org.springframework.remoting.support.RemotingSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.BeanClassLoaderAware
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
Initialize the Hessian proxy for this interceptor.
RemoteLookupFailureException | if the service URL is invalid |
---|
Set whether to use a chunked post for sending a Hessian request.
Set whether Hessian's debug mode should be enabled. Default is "false".
Set whether version 2 of the Hessian protocol should be used for parsing requests and replies. Default is "false".
Set whether version 2 of the Hessian protocol should be used for parsing replies. Default is "false".
Set whether version 2 of the Hessian protocol should be used for parsing requests. Default is "false".
Set whether overloaded methods should be enabled for remote invocations. Default is "false".
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.
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.
Set the timeout to use when waiting for a reply from the Hessian service.
Set whether to send the Java collection type for each serialized collection. Default is "true".
Specify the Hessian SerializerFactory to use.
This will typically be passed in as an inner bean definition
of type com.caucho.hessian.io.SerializerFactory
,
with custom bean property values applied.
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.
Convert the given Hessian access exception to an appropriate Spring RemoteAccessException.
ex | the exception to convert |
---|
Create the Hessian proxy that is wrapped by this interceptor.
proxyFactory | the proxy factory to use |
---|
MalformedURLException | if thrown by the proxy factory |
---|