com.antelmann.net
Class ServerLogEntry
java.lang.Object
com.antelmann.net.ServerLogEntry
public class ServerLogEntry
- extends Object
a log entry from a web-server log
- Author:
- Holger Antelmann
- See Also:
ServerLog
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerLogEntry
public ServerLogEntry(String host,
String method,
String url,
String referer,
Date time,
String agent,
String user,
short code,
String protocol)
getHost
public String getHost()
getHostAddress
public InetAddress getHostAddress()
throws UnknownHostException
- Throws:
UnknownHostException
getMethod
public String getMethod()
getURL
public String getURL()
getReferer
public String getReferer()
getTime
public Date getTime()
getAgent
public String getAgent()
getUser
public String getUser()
getCode
public short getCode()
getProtocol
public String getProtocol()
getQueryString
public String getQueryString()
- extracts the query parameter portion of a URL that usually contains the
search string that was used to query a search engine
- Returns:
- null if no query parameter was present or the UTF-8 decoded
query parameter value
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads