org.http4s.blaze.http

RouteAction

object RouteAction

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

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. def Buffer(code: Int, status: String, body: ByteBuffer, headers: Headers): RouteAction

    generate a HTTP response from a single ByteBuffer

    generate a HTTP response from a single ByteBuffer

    body

    the single ByteBuffer which represents the body.

    Note: this method will not modify the passed ByteBuffer, instead making read-only views of it when writing to the socket, so the resulting responses can be reused multiple times.

  7. def EntityTooLarge(): RouteAction

    Generate a 413 'Entity Too Large' response

  8. def InternalServerError(msg: String = "Internal Server Error", headers: Headers = Nil): RouteAction

    Generate a 500 'Internal Server Error' with the specified message

  9. def Ok(body: ByteBuffer): RouteAction

    Generate a 200 OK HTTP response from a ByteBuffer

  10. def Ok(body: ByteBuffer, headers: Headers): RouteAction

    Generate a 200 OK HTTP response from a ByteBuffer

  11. def Ok(body: String): RouteAction

    Generate a 200 OK HTTP response from a String

  12. def Ok(body: String, headers: Headers): RouteAction

    Generate a 200 OK HTTP response from a String

  13. def Ok(body: Array[Byte]): RouteAction

    Generate a 200 OK HTTP response from an Array[Byte]

  14. def Ok(body: Array[Byte], headers: Headers = Nil): RouteAction

    Generate a 200 OK HTTP response from an Array[Byte]

  15. def Streaming(code: Int, status: String, headers: Headers)(body: ⇒ Future[ByteBuffer])(implicit ec: ExecutionContext = Execution.trampoline): RouteAction

    generate a streaming HTTP response

    generate a streaming HTTP response

    body

    each invocation should generate the next body chunk. Each chunk will be written before requesting another chunk. Termination is signaled by an empty ByteBuffer as defined by the return value of ByteBuffer.hasRemaining().

  16. def String(body: String, code: Int, status: String, headers: Headers): RouteAction

    generate a HTTP response from a String

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped