Packages

object Response

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

Type Members

  1. final case class Patch(addHeaders: Headers, setStatus: Option[Status]) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[R, E](status: Status = Status.Ok, headers: Headers = Headers.empty, body: Body = Body.empty): Response
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fromHttpError(error: HttpError): Response
  10. def fromSocket[R](http: Handler[R, Throwable, ChannelEvent[WebSocketFrame, WebSocketFrame], Unit])(implicit trace: Trace): ZIO[R, Nothing, Response]

    Creates a new response for the provided socket

  11. def fromSocketApp[R](app: SocketApp[R])(implicit trace: Trace): ZIO[R, Nothing, Response]

    Creates a new response for the provided socket app

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def html(data: Html, status: Status = Status.Ok): Response

    Creates a response with content-type set to text/html

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def json(data: CharSequence): Response

    Creates a response with content-type set to application/json

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def ok: Response

    Creates an empty response with status 200

  21. def redirect(location: CharSequence, isPermanent: Boolean = false): Response

    Creates an empty response with status 301 or 302 depending on if it's permanent or not.

  22. def seeOther(location: CharSequence): Response

    Creates an empty response with status 303

  23. def status(status: Status): Response

    Creates an empty response with the provided Status

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def text(text: CharSequence): Response

    Creates a response with content-type set to text/plain

  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. object GetApp
  31. object GetError
  32. object NettyResponse

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped