public class NestedJettyServlet extends Object implements Servlet
This servlet runs Jetty as a nested server inside another servlet container. The requests received by
this servlet are routed via a NestedConnector
to the nested jetty servlet and handled by jetty contexts,
handlers, webapps and/or servlets.
The servlet can be configured with the following init parameters:
Constructor and Description |
---|
NestedJettyServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
ServletConfig |
getServletConfig() |
String |
getServletInfo() |
void |
init(ServletConfig config) |
void |
service(ServletRequest req,
ServletResponse res) |
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
ServletException
public ServletConfig getServletConfig()
getServletConfig
in interface Servlet
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException
service
in interface Servlet
ServletException
IOException
public String getServletInfo()
getServletInfo
in interface Servlet
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.