org.mashupbots.socko.events

DefaultHttpContent

case class DefaultHttpContent(buffer: ByteBuf, contentType: String) extends HttpContent with Product with Serializable

Represents the contents or body of the HTTP request

buffer

Request body

contentType

MIME type of the request body

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

Instance Constructors

  1. new DefaultHttpContent(buffer: ByteBuf, contentType: String)

    buffer

    Request body

    contentType

    MIME type of the request body

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 buffer: ByteBuf

    Request body

  8. def clone(): AnyRef

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

    MIME type of the request body

  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. def isEmpty: Boolean

    Definition Classes
    DefaultHttpContentHttpContent
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  19. def toByteBuf: ByteBuf

    Returns the contents as a Netty native channel buffer

    Returns the contents as a Netty native channel buffer

    Definition Classes
    DefaultHttpContentHttpContent
  20. def toBytes: Array[Byte]

    Returns the contents as a byte array

    Returns the contents as a byte array

    Definition Classes
    DefaultHttpContentHttpContent
  21. def toFormDataMap(): Map[String, List[String]]

    Returns a map of the form data fields

    Returns a map of the form data fields

    Empty map is returned if the content type is not application/x-www-form-urlencoded or if there is no content.

    The form data field name is the map's key. The value corresponding to a key are a list values for that field. Typically, there is is only 1 value for a field.

    Definition Classes
    DefaultHttpContentHttpContent
  22. def toString(charset: Charset): String

    Returns a string representation of the content using the specified character set.

    Returns a string representation of the content using the specified character set.

    charset

    Character set to use to decode the string

    Definition Classes
    DefaultHttpContentHttpContent
  23. def toString(): String

    Returns a string representation of the content.

    Returns a string representation of the content.

    The character set in the content type will be used.

    If not supplied, ISO-8859-1 is assumed (see http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html section 3.7.1)

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped