com.caucho.http.log
Class AbstractAccessLog
java.lang.Object
|
+--com.caucho.http.log.AbstractAccessLog
- Direct Known Subclasses:
- AccessLog
- public abstract class AbstractAccessLog
- extends java.lang.Object
Represents an log of every top-level request to the server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dbg
protected static WriteStream dbg
path
protected Path path
AbstractAccessLog
public AbstractAccessLog()
getPath
public Path getPath()
- Returns the access-log's path.
setPath
public void setPath(Path path)
- Sets the access-log's path.
init
public void init()
throws ServletException,
java.io.IOException
- Initialize the log.
log
public abstract void log(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
throws java.io.IOException
- Logs a request using the current format.
- Parameters:
request
- the servlet request.response
- the servlet response.
destroy
public void destroy()
throws java.io.IOException
- Cleanup the log.