Top Description Methods
org.glassfish.grizzly.http.server.accesslog

public Interface AccessLogFormat

Known Direct Implementers
org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
Imports
java.util.Date, org.glassfish.grizzly.http.server.Response

An interface defining a component capable of formatting Responses into printable access log entries.

Implementations of this class must be thread-safe.

Authors
Pier Fumagalli, USRZ.com

Method Summary

Modifier and TypeMethod and Description
public String
format(Response
The Response holding the data to format.
response
,
Date
The Date at which the request was originated.
timeStamp
,
long
The time, in nanoseconds, the Response took to complete.
responseNanos
)

Format the data contained in the specified Response and return a String which can be appended to an access log file.

Method Detail

formatback to summary
public String format(Response response, Date timeStamp, long responseNanos)

Format the data contained in the specified Response and return a String which can be appended to an access log file.

Parameters
response:Response

The Response holding the data to format.

timeStamp:Date

The Date at which the request was originated.

responseNanos:long

The time, in nanoseconds, the Response took to complete.