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.


Constructor Index

 o HttpLog()
Creates a new common log object.
 o HttpLog(OutputStream)
Create a new object that writes to the OutputStream

Method Index

 o setOptions(String)
Set logging options.
 o write(HttpRequest, HttpResponse)
Writes an entry to the log file in common log format

Constructors

 o HttpLog
 public HttpLog()
Creates a new common log object.

 o HttpLog
 public HttpLog(OutputStream out)
Create a new object that writes to the OutputStream

Methods

 o 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
 o 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