| javax.servlet.http.HttpServlet org.apache.maven.cactus.sample.SampleServlet
SampleServlet | public class SampleServlet extends HttpServlet (Code) | | Sample servlet that implements some very simple business logic. The goal is
to provide some functional tests for Cactus and examples for Cactus users.
This servlet simply checks is a user is authenticated
version: $Id: SampleServlet.java 238815 2004-02-29 16:34:44Z vmassol $ |
isAuthenticated | public boolean isAuthenticated(HttpServletRequest theRequest)(Code) | | Take a request object and return whether the user is authenticated o not.
Parameters: theRequest - the HttpServletRequest object boolean whether the request is by an authenticated user or not |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|