org.mashupbots.socko.infrastructure

WebLogEvent

case class WebLogEvent(timestamp: Date, serverName: String, channelContextName: String, clientAddress: SocketAddress, serverAddress: SocketAddress, username: Option[String], method: String, uri: String, requestSize: Long, responseStatusCode: Int, responseSize: Long, timeTaken: Long, protocolVersion: String, userAgent: Option[String], referrer: Option[String]) extends Product with Serializable

A web log event to record

timestamp

Timestamp for the event

serverName

Socko Web Server instance name

clientAddress

Client's socket address. We don't convert to string here in case JDK performs a blocknig reverse DNS lookup.

serverAddress

Server's socket address. We don't convert to string here in case JDK performs a blocknig reverse DNS lookup.

username

Authenticated user name

method

The action the client was trying to perform (for example, a GET method).

uri

The resource accessed; for example, Default.htm.

requestSize

The number of bytes received by the server.

responseStatusCode

The status of the action, in HTTP or FTP terms.

responseSize

The number of bytes sent by the server.

timeTaken

The duration of time, in milliseconds, that this action consumed.

protocolVersion

The protocol (HTTP, FTP) version used by the client. For HTTP this will be either HTTP/1.0 or HTTP/1.1.

userAgent

The browser used on the client.

referrer

The previous site visited by the user. This site provided a link to the current site.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WebLogEvent
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebLogEvent(timestamp: Date, serverName: String, channelContextName: String, clientAddress: SocketAddress, serverAddress: SocketAddress, username: Option[String], method: String, uri: String, requestSize: Long, responseStatusCode: Int, responseSize: Long, timeTaken: Long, protocolVersion: String, userAgent: Option[String], referrer: Option[String])

    timestamp

    Timestamp for the event

    serverName

    Socko Web Server instance name

    clientAddress

    Client's socket address. We don't convert to string here in case JDK performs a blocknig reverse DNS lookup.

    serverAddress

    Server's socket address. We don't convert to string here in case JDK performs a blocknig reverse DNS lookup.

    username

    Authenticated user name

    method

    The action the client was trying to perform (for example, a GET method).

    uri

    The resource accessed; for example, Default.htm.

    requestSize

    The number of bytes received by the server.

    responseStatusCode

    The status of the action, in HTTP or FTP terms.

    responseSize

    The number of bytes sent by the server.

    timeTaken

    The duration of time, in milliseconds, that this action consumed.

    protocolVersion

    The protocol (HTTP, FTP) version used by the client. For HTTP this will be either HTTP/1.0 or HTTP/1.1.

    userAgent

    The browser used on the client.

    referrer

    The previous site visited by the user. This site provided a link to the current site.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val channelContextName: String

  8. val clientAddress: SocketAddress

    Client's socket address.

    Client's socket address. We don't convert to string here in case JDK performs a blocknig reverse DNS lookup.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. val method: String

    The action the client was trying to perform (for example, a GET method).

  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. val protocolVersion: String

    The protocol (HTTP, FTP) version used by the client.

    The protocol (HTTP, FTP) version used by the client. For HTTP this will be either HTTP/1.0 or HTTP/1.1.

  19. val referrer: Option[String]

    The previous site visited by the user.

    The previous site visited by the user. This site provided a link to the current site.

  20. val requestSize: Long

    The number of bytes received by the server.

  21. val responseSize: Long

    The number of bytes sent by the server.

  22. val responseStatusCode: Int

    The status of the action, in HTTP or FTP terms.

  23. val serverAddress: SocketAddress

    Server's socket address.

    Server's socket address. We don't convert to string here in case JDK performs a blocknig reverse DNS lookup.

  24. val serverName: String

    Socko Web Server instance name

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. val timeTaken: Long

    The duration of time, in milliseconds, that this action consumed.

  27. val timestamp: Date

    Timestamp for the event

  28. def toCombinedFormat(): String

    Creates a log entry in the combined log format.

    Creates a log entry in the combined log format.

    216.67.1.91 - leon [01/Jul/2002:12:11:52 +0000] "GET /index.html HTTP/1.1" 200 431 "http://www.loganalyzer.net/" "Mozilla/4.05 [en] (WinNT; I)"
  29. def toCommonFormat(): String

    Creates a log entry in the common log format.

    Creates a log entry in the common log format.

    216.67.1.91 - leon [01/Jul/2002:12:11:52 +0000] "GET /index.html HTTP/1.1" 200 431
  30. def toExtendedFormat(): String

    Creates a log entry in the extended log format.

    Creates a log entry in the extended log format.

    #Software: Socko
    #Version: 1.0
    #Date: 2002-05-02 17:42:15
    #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-bytes cs-bytes time-taken cs(User-Agent) cs(Referrer)
    2002-05-24 20:18:01 172.224.24.114 - 206.73.118.24 80 GET /Default.htm - 200 7930 248 31 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+2000+Server) http://64.224.24.114/
  31. val uri: String

    The resource accessed; for example, Default.

    The resource accessed; for example, Default.htm.

  32. val userAgent: Option[String]

    The browser used on the client.

  33. val username: Option[String]

    Authenticated user name

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped