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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected RequestChain
chain
protected ServletDescriptor
descriptor
protected boolean
initDone
-
Constructor Summary
Constructors Constructor Description ServletHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Field Detail
-
chain
protected RequestChain chain
-
descriptor
protected ServletDescriptor descriptor
-
initDone
protected volatile boolean initDone
-
-
Method Detail
-
getName
protected String getName(javax.servlet.ServletConfig config)
-
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
-
-