Class ServletHolder
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.nuxeo.ecm.webengine.jaxrs.servlet.ServletHolder
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ServletHolder
extends javax.servlet.http.HttpServlet
- Author:
- Bogdan Stefanescu
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected RequestChain
protected ServletDescriptor
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
protected ServletDescriptor
getDescriptor
(javax.servlet.ServletConfig config) protected String
getName
(javax.servlet.ServletConfig config) void
init
(javax.servlet.ServletConfig config) protected void
lazyInit()
protected void
service
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
chain
-
descriptor
-
initDone
protected volatile boolean initDone
-
-
Constructor Details
-
ServletHolder
public ServletHolder()
-
-
Method Details
-
getName
-
getDescriptor
protected ServletDescriptor getDescriptor(javax.servlet.ServletConfig config) throws javax.servlet.ServletException - Throws:
javax.servlet.ServletException
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.servlet.Servlet
- Overrides:
destroy
in classjavax.servlet.GenericServlet
-
service
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
service
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
lazyInit
protected void lazyInit() throws javax.servlet.ServletException- Throws:
javax.servlet.ServletException
-