org.mashupbots.socko.events

HttpRequestMessage

trait HttpRequestMessage extends AnyRef

Encapsulates the all the data sent in a HTTP request; i.e. headers and content.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpRequestMessage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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.

  2. abstract val content: HttpContent

    Body of the HTTP request

  3. abstract 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.

  4. abstract 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.

  5. abstract val endPoint: EndPoint

    HTTP End point for this request

  6. abstract val headers: ImmutableHttpHeaders

    HTTP request headers

  7. abstract val httpVersion: String

    HTTP version

  8. abstract 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

  9. abstract val is100ContinueExpected: Boolean

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

  10. abstract 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.

  11. abstract 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
  12. abstract val isWebSocketUpgrade: Boolean

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

Concrete 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. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped