Class

uzhttp.Response

PathResponse

Related Doc: package Response

Permalink

final case class PathResponse extends Response with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Response, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathResponse
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Response
  7. AnyRef
  8. 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 addHeader(name: String, value: String): Response

    Permalink
    Definition Classes
    Response
  5. def addHeaders(headers: (String, String)*): Response

    Permalink
    Definition Classes
    PathResponseResponse
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def cached: UIO[Response]

    Permalink

    Cache the response lazily in memory, for repeated use.

    Cache the response lazily in memory, for repeated use. Be careful when using this – keep in mind that this reponse could have been tailored for a particular request and won't work for a different request (e.g. it could be a 304 Not Modified response due to the request's If-Modified-Since header)

    returns

    A new Response which caches this response's body in memory.

    Definition Classes
    Response
  8. def cachedManaged: ZManaged[Any, Nothing, Response]

    Permalink
    Definition Classes
    Response
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close: UIO[Unit]

    Permalink

    Terminate the response, if it's still writing.

    Terminate the response, if it's still writing.

    Definition Classes
    Response
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. val headers: Headers

    Permalink
    Definition Classes
    PathResponseResponse
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mmap(uri: String): RIO[Blocking, Response]

    Permalink

    Produce a memory-mapped version of this response.

    Produce a memory-mapped version of this response. NOTE: This will leak, because it can't be unmapped. Only do this if you intend to keep the memory-mapped response for the duration of your app.

  17. def mmapManaged(uri: String): ZManaged[Blocking, Throwable, Response]

    Permalink

    Like mmap, but returns a managed resource that closes the file channel after use.

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. val path: Path

    Permalink
  22. def removeHeader(name: String): Response

    Permalink
    Definition Classes
    PathResponseResponse
  23. val size: Long

    Permalink

    Size of response body (excluding headers)

    Size of response body (excluding headers)

    Definition Classes
    PathResponseResponse
  24. val status: Status

    Permalink
    Definition Classes
    PathResponseResponse
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withCacheControl: Response

    Permalink

    Add cache-control header enabling modification time checking on the client

    Add cache-control header enabling modification time checking on the client

    Definition Classes
    Response

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Response

Inherited from AnyRef

Inherited from Any

Ungrouped