com.interface21.remoting.caucho
Class BurlapServiceExporter
java.lang.Object
|
+--com.interface21.remoting.caucho.BurlapServiceExporter
- All Implemented Interfaces:
- Controller
- public class BurlapServiceExporter
- extends java.lang.Object
- implements Controller
Web controller that exports the specified service bean as Burlap service
endpoint, accessible via a Burlap proxy.
Burlap is a slim, XML-based RPC protocol.
For information on Hessian, see the
Burlap website
Note: Burlap services exported with this class can be accessed by
any Burlap client, as there isn't any special handling involved.
- Since:
- 13.05.2003
- Author:
- Juergen Hoeller
- See Also:
BurlapProxyFactoryBean
|
Method Summary |
ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the incoming Burlap request and create a Burlap response. |
void |
setService(java.lang.Object service)
Set the service to export via Burlap.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BurlapServiceExporter
public BurlapServiceExporter()
setService
public void setService(java.lang.Object service)
- Set the service to export via Burlap.
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 Burlap request and create a Burlap 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.