public abstract class AbstractEndpointServlet extends HttpServlet
Modifier and Type | Field and Description |
---|---|
protected org.jboss.wsf.spi.deployment.Endpoint |
endpoint |
Modifier | Constructor and Description |
---|---|
protected |
AbstractEndpointServlet()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
init(ServletConfig servletConfig)
Servlet lifecycle init method
|
protected abstract org.jboss.wsf.spi.management.EndpointResolver |
newEndpointResolver(String servletContext,
String servletName)
Abstract method that must be overriden by each stack servlet endpoint
|
protected void |
postInit(ServletConfig cfg)
Template method
|
protected void |
postService()
Template method
|
void |
service(HttpServletRequest req,
HttpServletResponse res)
Serves the requests
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public final void init(ServletConfig servletConfig) throws ServletException
init
in interface Servlet
init
in class GenericServlet
servletConfig
- servlet configurationServletException
- if an exception occurs that
interrupts the servlet's normal
operationUnavailableException
public final void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
service
in class HttpServlet
req
- the HttpServletRequest
object that
contains the request the client made of
the servletres
- the HttpServletResponse
object that
contains the response the servlet returns
to the clientServletException
- if the HTTP request
cannot be handledIOException
- if an input or output error occurs
while the servlet is handling the
HTTP requestServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
protected void postService()
protected void postInit(ServletConfig cfg)
cfg
- servlet configprotected abstract org.jboss.wsf.spi.management.EndpointResolver newEndpointResolver(String servletContext, String servletName)
servletContext
- servlet contextservletName
- servlet nameCopyright © 2018 JBoss by Red Hat. All rights reserved.