|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcs1705.weblog.LogEntry
Store the data from a single line of a web-server log file. Individual fields are made available via accessors.
| Constructor Summary | |
LogEntry(String logLine)
Decompose a log line so that the individual fields are available. |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LogEntry(String logLine)
logLine - A single line from the log.| Method Detail |
public Calendar accessTime()
public String browser()
public String referrer()
public String request()
public int resultCode()
public String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||