com.caucho.message.tourmaline
Class NautilusServlet
java.lang.Object
javax.servlet.GenericServlet
com.caucho.message.tourmaline.NautilusServlet
- All Implemented Interfaces:
- java.io.Serializable, Servlet, ServletConfig
public class NautilusServlet
- extends GenericServlet
Custom serialization for the cache
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NautilusServlet
public NautilusServlet()
setBroker
public void setBroker(MessageBroker broker)
init
@PostConstruct
public void init()
- Description copied from class:
GenericServlet
- Initialize the servlet. Servlets should override this method
if they need any initialization like opening pooled
database connections.
- Overrides:
init
in class GenericServlet
getBroker
public MessageBroker getBroker()
service
public void service(ServletRequest req,
ServletResponse res)
throws java.io.IOException,
ServletException
- Description copied from interface:
Servlet
- Service a request. Since the servlet engine is multithreaded,
many threads may execute
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.
- Parameters:
req
- request information. Normally servlets will cast this
to HttpServletRequest
res
- response information. Normally servlets will cast this
to HttpServletRequest
- Throws:
java.io.IOException
ServletException