public class LogEntry extends Object
Constructor and Description |
---|
LogEntry(String logLine)
Decompose a log line so that the individual fields
are available.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
accessTime()
Get the access time for the HTTP request contained in this log line.
|
String |
browser()
Get the identification information for the browser making the request.
|
String |
referrer()
Get the URL of the "referrer" containing the link used to make the request.
|
String |
request()
Get the request method, URL, and protocol for this log line.
|
int |
resultCode()
Get the result code returned by the server.
|
String |
toString()
Create a string representation of the data.
|
public LogEntry(String logLine)
logLine
- A single line from the log.public Calendar accessTime()
public String request()
public int resultCode()
public String referrer()
public String browser()