org.mashupbots.socko.events

InitialHttpRequestMessage

case class InitialHttpRequestMessage(headers: Map[String, String], endPoint: EndPoint, isKeepAlive: Boolean, acceptedEncodings: Array[String], httpVersion: String, is100ContinueExpected: Boolean, ifModifiedSince: Option[Date], isChunked: Boolean, isWebSocketUpgrade: Boolean, contentType: String, contentLength: Long, createdOn: Date) extends HttpRequestMessage with Product with Serializable

Details of the HTTP request that initiated the web socket connection or chunk transfer.

To save space, the contents is not stored

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

Instance Constructors

  1. new InitialHttpRequestMessage(current: CurrentHttpRequestMessage, createdOn: Date)

  2. new InitialHttpRequestMessage(headers: Map[String, String], endPoint: EndPoint, isKeepAlive: Boolean, acceptedEncodings: Array[String], httpVersion: String, is100ContinueExpected: Boolean, ifModifiedSince: Option[Date], isChunked: Boolean, isWebSocketUpgrade: Boolean, contentType: String, contentLength: Long, createdOn: Date)

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. val acceptedEncodings: Array[String]

    Array of accepted encoding for content compression from the HTTP header

    Array of accepted encoding for content compression from the HTTP header

    For example, give then header Accept-Encoding: gzip, deflate, then an array containing gzip and defalte will be returned.

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. val content: HttpContent

    Body of the HTTP request

    Body of the HTTP request

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  10. val contentLength: Long

    Returns the length of the content from the Content-Length header.

    Returns the length of the content from the Content-Length header. If not set, 0 is returned.

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  11. val contentType: String

    Content type of the body expressed as a MIME type.

    Content type of the body expressed as a MIME type. e.g. text/plain.

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  12. val createdOn: Date

  13. def duration(): Long

    Number of milliseconds from the time when the initial request was made

  14. val endPoint: EndPoint

    HTTP End point for this request

    HTTP End point for this request

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. val headers: Map[String, String]

    HTTP request headers

    HTTP request headers

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  19. val httpVersion: String

    HTTP version

    HTTP version

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  20. val ifModifiedSince: Option[Date]

    Returns the If-Modified-Since header as Some(Date).

    Returns the If-Modified-Since header as Some(Date). None is returned if the header not present or cannot be parsed

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  21. val is100ContinueExpected: Boolean

    True if and only if 100 continue is expected to be returned

    True if and only if 100 continue is expected to be returned

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  22. val isChunked: Boolean

    True if and only if the contents of this HTTP request will be arriving in subsequent HTTPChunks

    True if and only if the contents of this HTTP request will be arriving in subsequent HTTPChunks

    Note that if True, this HTTP request will NOT have any content. The content will be coming in subsequent HTTP chunks and sent for processing as HttpChunkEvent.

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. val isKeepAlive: Boolean

    True if and only if is connection is to be kept alive and the channel should NOT be closed after a response is returned.

    True if and only if is connection is to be kept alive and the channel should NOT be closed after a response is returned.

    This flag is controlled by the existence of the keep alive HTTP header.

    Connection: keep-alive
    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  25. val isWebSocketUpgrade: Boolean

    True if and only if this is a request to upgrade to a websocket connection

    True if and only if this is a request to upgrade to a websocket connection

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. var totalChunkContentLength: Long

    Total size of chunks, in bytes, received to date.

    Total size of chunks, in bytes, received to date.

    This is only used by HttpChunkEvent

  31. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. 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 HttpRequestMessage

Inherited from AnyRef

Inherited from Any

Ungrouped