Object/Trait

org.http4s.blaze.http

RouteAction

Related Docs: trait RouteAction | package http

Permalink

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

    Permalink

    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.

  5. def EntityTooLarge(): RouteAction

    Permalink

    Generate a 413 'Entity Too Large' response

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

    Permalink

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

  7. def Ok(body: ByteBuffer): RouteAction

    Permalink

    Generate a 200 OK HTTP response from a ByteBuffer

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

    Permalink

    Generate a 200 OK HTTP response from a ByteBuffer

  9. def Ok(body: String): RouteAction

    Permalink

    Generate a 200 OK HTTP response from a String

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

    Permalink

    Generate a 200 OK HTTP response from a String

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    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().

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

    Permalink

    generate a HTTP response from a String

  15. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped