public abstract class AbstractAccessLog
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
log |
protected Path |
path |
| Constructor and Description |
|---|
AbstractAccessLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Cleanup the log.
|
Path |
getPath()
Returns the access-log's path.
|
void |
init()
Initialize the log.
|
abstract void |
log(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs a request using the current format.
|
void |
setPath(Path path)
Sets the access-log's path.
|
protected static final java.util.logging.Logger log
protected Path path
public Path getPath()
public void setPath(Path path)
public void init()
throws ServletException,
java.io.IOException
ServletExceptionjava.io.IOExceptionpublic abstract void log(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws java.io.IOException
request - the servlet request.response - the servlet response.java.io.IOExceptionpublic void destroy()
throws java.io.IOException
java.io.IOException