Class GenericServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.deltava.servlet.GenericServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
- Direct Known Subclasses:
BasicAuthServlet
,CommandServlet
,LibraryServlet
,SignatureServlet
,TileServlet
A class storing common servlet helper methods.
- Since:
- 1.0
- Version:
- 11.3
- Author:
- Luke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected final class
Controller exception to handle 403s.protected final class
Controller exception to handle 404s.protected class
Security Context for use within servlets. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
getURL
(HttpServletRequest req) Returns the full URL requested.Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
GenericServlet
GenericServlet()
-
-
Method Details
-
getURL
Returns the full URL requested.- Parameters:
req
- the HttpServletRequest- Returns:
- the URL
-