com.interface21.remoting.caucho
Class HessianServiceExporter
java.lang.Object
|
+--com.interface21.remoting.caucho.HessianServiceExporter
- All Implemented Interfaces:
- Controller
- public class HessianServiceExporter
- extends java.lang.Object
- implements Controller
Web controller that exports the specified service bean as Hessian service
endpoint, accessible via a Hessian proxy.
Hessian is a slim, binary RPC protocol.
For information on Hessian, see the
Hessian website
Note: Hessian services exported with this class can be accessed by
any Hessian client, as there isn't any special handling involved.
- Since:
- 13.05.2003
- Author:
- Juergen Hoeller
- See Also:
HessianProxyFactoryBean
|
Method Summary |
ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the incoming Hessian request and create a Hessian response. |
void |
setService(java.lang.Object service)
Set the service to export via Hessian.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HessianServiceExporter
public HessianServiceExporter()
setService
public void setService(java.lang.Object service)
- Set the service to export via Hessian.
Typically populated via a bean reference.
handleRequest
public ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Process the incoming Hessian request and create a Hessian response.
- Specified by:
handleRequest in interface Controller
- Following copied from interface:
com.interface21.web.servlet.mvc.Controller
- Parameters:
request - current HTTP requestresponse - current HTTP response- Returns:
- a ModelAndView to render, or null if handled directly
Rod Johnson and Spring contributors 2001-2003.