public class NautilusServlet extends GenericServlet
Constructor and Description |
---|
NautilusServlet() |
Modifier and Type | Method and Description |
---|---|
MessageBroker |
getBroker() |
void |
init()
Initialize the servlet.
|
void |
service(ServletRequest req,
ServletResponse res)
Service a request.
|
void |
setBroker(MessageBroker broker) |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
public void setBroker(MessageBroker broker)
@PostConstruct public void init()
GenericServlet
init
in class GenericServlet
public MessageBroker getBroker()
public void service(ServletRequest req, ServletResponse res) throws java.io.IOException, ServletException
Servlet
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.req
- request information. Normally servlets will cast this
to HttpServletRequest
res
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException