org.mashupbots.socko.events

InitialHttpRequestMessage

case class InitialHttpRequestMessage(headers: ImmutableHttpHeaders, endPoint: EndPoint, isKeepAlive: Boolean, acceptedEncodings: List[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: ImmutableHttpHeaders, endPoint: EndPoint, isKeepAlive: Boolean, acceptedEncodings: List[String], httpVersion: String, is100ContinueExpected: Boolean, ifModifiedSince: Option[Date], isChunked: Boolean, isWebSocketUpgrade: Boolean, contentType: String, contentLength: Long, createdOn: Date)

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val acceptedEncodings: List[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
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Body of the HTTP request

    Body of the HTTP request

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  8. 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
  9. 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
  10. val createdOn: Date

  11. def duration(): Long

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

  12. val endPoint: EndPoint

    HTTP End point for this request

    HTTP End point for this request

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

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. val headers: ImmutableHttpHeaders

    HTTP request headers

    HTTP request headers

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  17. val httpVersion: String

    HTTP version

    HTTP version

    Definition Classes
    InitialHttpRequestMessageHttpRequestMessage
  18. 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
  19. 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
  20. 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
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. 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
  23. 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
  24. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  28. 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

  29. final def wait(): Unit

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

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