Package org.javlo.servlet
Class AccessServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.javlo.servlet.AccessServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,IVersion
public class AccessServlet extends javax.servlet.http.HttpServlet implements IVersion
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
COUNT_304
static long
COUNT_ACCESS
static org.slf4j.Logger
logger
create a static logger.static String
PERSISTENCE_PARAM
-
Constructor Summary
Constructors Constructor Description AccessServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
protected void
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
init()
void
process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean post)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
PERSISTENCE_PARAM
public static final String PERSISTENCE_PARAM
- See Also:
- Constant Field Values
-
COUNT_ACCESS
public static long COUNT_ACCESS
-
COUNT_304
public static long COUNT_304
-
logger
public static org.slf4j.Logger logger
create a static logger.
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Servlet
- Overrides:
destroy
in classjavax.servlet.GenericServlet
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
- Overrides:
doPost
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
-
init
public void init() throws javax.servlet.ServletException
- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
process
public void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean post) throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
-