com.caucho.hessian.server
Class HessianServlet
java.lang.Object
com.caucho.services.server.GenericService
com.caucho.hessian.server.HessianServlet
- All Implemented Interfaces:
- com.caucho.services.server.Service, javax.servlet.Servlet
- public class HessianServlet
- extends com.caucho.services.server.GenericService
- implements javax.servlet.Servlet
Servlet for serving EJBs from the Resin web server.
Fields inherited from class com.caucho.services.server.GenericService |
_config, _objectId, _request, _serviceId |
Method Summary |
java.lang.String |
getServletInfo()
|
void |
init(javax.servlet.ServletConfig config)
Initialize the service, including the service object. |
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Execute a request. |
void |
setService(boolean isService)
Sets the service class. |
Methods inherited from class com.caucho.services.server.GenericService |
destroy, getInitParameter, getObjectId, getRequest, getServiceId, getServletConfig, getServletContext, init, log, setRequestObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.Servlet |
destroy, getServletConfig |
_serviceClass
private java.lang.Class _serviceClass
_service
private java.lang.Object _service
_skeleton
private HessianSkeleton _skeleton
_isService
private boolean _isService
HessianServlet
public HessianServlet()
getServletInfo
public java.lang.String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
setService
public void setService(boolean isService)
- Sets the service class.
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Initialize the service, including the service object.
- Specified by:
init
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Execute a request. The path-info of the request selects the bean.
Once the bean's selected, it will be applied.
- Specified by:
service
in interface javax.servlet.Servlet
- Throws:
java.io.IOException
javax.servlet.ServletException