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 ServletServletExceptionpublic ServletConfig getServletConfig()
getServletConfig in interface Servletpublic void service(ServletRequest req, ServletResponse res) throws ServletException, IOException
service in interface ServletServletExceptionIOExceptionpublic String getServletInfo()
getServletInfo in interface ServletCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.