public class TJWSServletDispatcher extends HttpServletDispatcher
servletContainerDispatcher
Constructor and Description |
---|
TJWSServletDispatcher() |
TJWSServletDispatcher(SecurityDomain domain) |
Modifier and Type | Method and Description |
---|---|
ServletConfig |
getServletConfig()
Returns this servlet's
ServletConfig object. |
ServletContext |
getServletContext()
Returns a reference to the
ServletContext in which this servlet
is running. |
void |
service(String httpMethod,
HttpServletRequest request,
HttpServletResponse response) |
void |
setContextPath(String contextPath) |
void |
setSecurityDomain(SecurityDomain domain) |
createHttpRequest, createResteasyHttpRequest, createResteasyHttpResponse, createServletResponse, destroy, getDispatcher, init, service
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletInfo, getServletName, init, log, log
public TJWSServletDispatcher()
public TJWSServletDispatcher(SecurityDomain domain)
public void setContextPath(String contextPath)
public void service(String httpMethod, HttpServletRequest request, HttpServletResponse response) throws IOException
service
in class HttpServletDispatcher
IOException
public void setSecurityDomain(SecurityDomain domain)
public ServletConfig getServletConfig()
GenericServlet
ServletConfig
object.getServletConfig
in interface Servlet
getServletConfig
in class GenericServlet
ServletConfig
object
that initialized this servletServlet.init(javax.servlet.ServletConfig)
public ServletContext getServletContext()
GenericServlet
ServletContext
in which this servlet
is running. See ServletConfig.getServletContext()
.
This method is supplied for convenience. It gets the
context from the servlet's ServletConfig
object.
getServletContext
in interface ServletConfig
getServletContext
in class GenericServlet
ServletContext
object
passed to this servlet by the init
methodServletContext
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.