Object/Trait

fm.http.server

Response

Related Docs: trait Response | package server

Permalink

object Response

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Response
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Found(location: String): Response

    Permalink

    302

  5. def MovedPermanently(location: String): Response

    Permalink

    301

  6. def NotFound(headers: Headers = Headers.empty): Response

    Permalink

    404

  7. def NotModified(headers: Headers = Headers.empty): Response

    Permalink

    304

  8. def Ok(headers: Headers, file: RandomAccessFile): RandomAccessFileResponse

    Permalink
  9. def Ok(headers: Headers, file: File): FileResponse

    Permalink
  10. def Ok(headers: Headers, head: LinkedHttpContent): AsyncResponse

    Permalink
  11. def Ok(head: LinkedHttpContent): AsyncResponse

    Permalink
  12. def Ok(headers: Headers, buf: ByteBuf): FullResponse

    Permalink
  13. def Ok(headers: Headers, body: String): FullResponse

    Permalink
  14. def Ok(body: String): FullResponse

    Permalink

    200

  15. def SeeOther(location: String): Response

    Permalink

    303

  16. def addCookie(c: Cookie)(implicit request: Request): Unit

    Permalink

    Adds a cookie to the response (via the Set-Cookie header)

    Adds a cookie to the response (via the Set-Cookie header)

    Note: If a cookie with same name already exists then it is overwritten

    c

    The Cookie to add

  17. def addHeader(name: String, value: Option[String])(implicit request: Request): Unit

    Permalink

    Add a header to the response

    Add a header to the response

    name

    The header name

    value

    The header value

  18. def addHeader(name: String, value: String)(implicit request: Request): Unit

    Permalink

    Add a header to the response

    Add a header to the response

    name

    The header name

    value

    The header value

  19. def apply(status: Status, headers: Headers, buf: ByteBuf): Response

    Permalink
  20. def apply(status: Status, headers: Headers, arr: Array[Byte], offset: Int, length: Int): Response

    Permalink
  21. def apply(status: Status, headers: Headers, arr: Array[Byte]): Response

    Permalink
  22. def apply(status: Status, headers: Headers): Response

    Permalink
  23. def apply(status: Status): Response

    Permalink
  24. def apply(status: Status, headers: Headers, body: String): Response

    Permalink
  25. def apply(status: Status, body: String, headers: Headers): Response

    Permalink
  26. def apply(status: Status, body: String): Response

    Permalink
  27. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  28. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. def plain(status: Status, body: String, headers: Headers): Response

    Permalink
  39. def plain(status: Status, headers: Headers, body: String): Response

    Permalink
  40. def plain(status: Status, headers: Headers): Response

    Permalink
  41. def plain(status: Status): Response

    Permalink
  42. def removeHeader(name: String)(implicit request: Request): Unit

    Permalink

    Remove a header to the response

    Remove a header to the response

    name

    The header name

  43. def saveAs(raf: RandomAccessFile, saveAsName: String, contentType: String): Response

    Permalink
  44. def saveAs(raf: RandomAccessFile, saveAsName: String): Response

    Permalink
  45. def saveAs(file: File, saveAsName: String, contentType: String): Response

    Permalink
  46. def saveAs(file: File, saveAsName: String): Response

    Permalink
  47. def saveAs(file: File): Response

    Permalink
  48. def setHeader(name: String, value: Option[String])(implicit request: Request): Unit

    Permalink

    Set/replace a header to the response

    Set/replace a header to the response

    name

    The header name

    value

    The header value

  49. def setHeader(name: String, value: String)(implicit request: Request): Unit

    Permalink

    Set/replace a header to the response

    Set/replace a header to the response

    name

    The header name

    value

    The header value

  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped