Class DelegationServlet
- java.lang.Object
-
- org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
-
- All Implemented Interfaces:
javax.servlet.Servlet
public class DelegationServlet extends Object implements javax.servlet.Servlet
This class register itself under a tomcat web-context and delegates all the calls to theProxyServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)method
-
-
Constructor Summary
Constructors Constructor Description DelegationServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()javax.servlet.ServletConfiggetServletConfig()StringgetServletInfo()voidinit(javax.servlet.ServletConfig config)voidservice(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)All the service calls get delegated to httpProxy servlet implemented by equinox org.eclipse.equinox.http.servlet bundle
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Servlet
-
service
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOExceptionAll the service calls get delegated to httpProxy servlet implemented by equinox org.eclipse.equinox.http.servlet bundle- Specified by:
servicein interfacejavax.servlet.Servlet- Parameters:
request- requestObject injected by servlet Engineresponse- responseObject injected by servlet Ending- Throws:
javax.servlet.ServletExceptionIOException
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfigin interfacejavax.servlet.Servlet
-
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfoin interfacejavax.servlet.Servlet
-
-