public final class InvokerServlet extends javax.servlet.http.HttpServlet implements ContainerServlet
Modifier and Type | Field and Description |
---|---|
static ResourceBundle |
rb |
Constructor and Description |
---|
InvokerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Finalize this servlet.
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a GET request for the specified resource.
|
void |
doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a HEAD request for the specified resource.
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a POST request for the specified resource.
|
Wrapper |
getWrapper()
Return the Wrapper with which we are associated.
|
void |
init()
Initialize this servlet.
|
void |
serveRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Serve the specified request, creating the corresponding response.
|
void |
setWrapper(Wrapper wrapper)
Set the Wrapper with which we are associated.
|
doDelete, doOptions, doPut, doTrace, getLastModified, service, service
public static final ResourceBundle rb
public Wrapper getWrapper()
getWrapper
in interface ContainerServlet
public void setWrapper(Wrapper wrapper)
setWrapper
in interface ContainerServlet
wrapper
- The new wrapperpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet-specified error occurspublic void doHead(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
doHead
in class javax.servlet.http.HttpServlet
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet-specified error occurspublic void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
doPost
in class javax.servlet.http.HttpServlet
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet-specified error occurspublic void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void serveRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
Synchronize to avoid race conditions when multiple requests try to initialize the same servlet at the same time
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet-specified error occursCopyright © 2018. All rights reserved.