com.lutris.appserver.server.httpPresentation.servlet
Class HttpPresentationServletGlue
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationServletGlue
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class HttpPresentationServletGlue
- extends javax.servlet.http.HttpServlet
This is a small helper class, used be HttpPresentationServlet when there
are filters applied to the servlet. At the end of the filter chain lies
one of these objects. When my service method is called, I pass the call
straight through to the serviceDirect() method of my
HttpPresentationServlet. Therefore this class is the glue that connects
the filter chain to the HttpPresentationServlet. Consider this an
internal use only class.
- See Also:
- Serialized Form
Method Summary |
FilterableServlet |
getServlet()
Get the servlet I am gluing to. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls to this method are passed straight on to the serviceDirect()
method of the FilterableServlet passed into my constructor. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpPresentationServletGlue
public HttpPresentationServletGlue(FilterableServlet filterableServlet)
- Create a new glue servlet. Calling service() on me results in
serviceDirect() being called on filterableServlet. Since this is
an internal-use-only class, you should not normally need to instantiate
one of these.
- Parameters:
filterableServlet
- The real servlet to use.
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Calls to this method are passed straight on to the serviceDirect()
method of the FilterableServlet passed into my constructor.
- Overrides:
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
getServlet
public FilterableServlet getServlet()
- Get the servlet I am gluing to.
- Returns:
- The FilterableServlet passed into my constructor.