All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.server.log.http.HttpLog
java.lang.Object
|
+----com.sun.server.log.Log
|
+----com.sun.server.log.http.HttpLog
- public class HttpLog
- extends Log
A class used for logging HTTP requests in common log format.
-
HttpLog()
- Creates a new common log object.
-
HttpLog(OutputStream)
- Create a new object that writes to the OutputStream
-
setOptions(String)
-
Set logging options.
-
write(HttpRequest, HttpResponse)
- Writes an entry to the log file in common log format
HttpLog
public HttpLog()
- Creates a new common log object.
HttpLog
public HttpLog(OutputStream out)
- Create a new object that writes to the OutputStream
setOptions
public void setOptions(String optionstr)
- Set logging options. Currently, the only supported options are
"dns" and "nodns", which turn host name resolution on and off,
respectively.
- Parameters:
- s - optionstr Space delimited list of options
- Overrides:
- setOptions in class Log
write
public void write(HttpRequest req,
HttpResponse res)
- Writes an entry to the log file in common log format
All Packages Class Hierarchy This Package Previous Next Index