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. Hide All
  2. Show all
  1. HttpRequestMessage
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Attributes
    abstract
  2. val content : HttpContent

    Body of the HTTP request

    Body of the HTTP request

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

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

    Attributes
    abstract
  5. val endPoint : EndPoint

    HTTP End point for this request

    HTTP End point for this request

    Attributes
    abstract
  6. val headers : Map[String, String]

    HTTP request headers

    HTTP request headers

    Attributes
    abstract
  7. val httpVersion : String

    HTTP version

    HTTP version

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

    Attributes
    abstract
  9. 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

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

    Attributes
    abstract
  11. 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
    
    Attributes
    abstract
  12. 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

    Attributes
    abstract

Concrete Value Members

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

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

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

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

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

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  18. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any