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, servicepublic static final ResourceBundle rb
public Wrapper getWrapper()
getWrapper in interface ContainerServletpublic void setWrapper(Wrapper wrapper)
setWrapper in interface ContainerServletwrapper - The new wrapperpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletpublic void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletrequest - 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.HttpServletrequest - 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.HttpServletrequest - 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.GenericServletjavax.servlet.ServletExceptionpublic 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 © 2019. All rights reserved.