zio.http.model

Members list

Concise view

Type members

Classlikes

final case class Cookie[T](name: String, content: String, target: Type[T])

Cookie is an immutable and type-safe representation of an HTTP cookie. It can be of type types viz. Cookie[Request] and Cookie[Response]. Cookie[Request] is only available in the Request object and Cookie[Response] is only available in the Response object.

Cookie is an immutable and type-safe representation of an HTTP cookie. It can be of type types viz. Cookie[Request] and Cookie[Response]. Cookie[Request] is only available in the Request object and Cookie[Response] is only available in the Response object.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
object Cookie

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Cookie.type
object HeaderNames extends HeaderNames

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object HeaderValues extends HeaderValues

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Headers

Represents an immutable collection of headers. It extends HeaderExtensions and has a ton of powerful operators that can be used to add, remove and modify headers.

Represents an immutable collection of headers. It extends HeaderExtensions and has a ton of powerful operators that can be used to add, remove and modify headers.

NOTE: Generic operators that are not specific to Headers should not be defined here. A better place would be one of the traits extended by HeaderExtension.

Attributes

Companion:
object
Graph
Supertypes
Known subtypes
class Header
Self type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Headers.type
sealed abstract class HttpError(val status: Status, val message: String) extends Throwable

Attributes

Companion:
object
Graph
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
Self type
object HttpError

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MediaType(mainType: String, subType: String, compressible: Boolean, binary: Boolean, fileExtensions: List[String], extensions: Map[String, String], parameters: Map[String, String])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object MediaType

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Method

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CONNECT.type
class CUSTOM
object DELETE.type
object GET.type
object HEAD.type
object OPTIONS.type
object PATCH.type
object POST.type
object PUT.type
object TRACE.type
Self type
object Method

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Method.type
sealed trait Scheme

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HTTP.type
object HTTPS.type
object WS.type
object WSS.type
Self type
object Scheme

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Scheme.type
sealed trait Status extends Product with Serializable

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object Accepted.type
object BadGateway.type
object BadRequest.type
object Conflict.type
object Continue.type
object Created.type
class Custom
object ExpectationFailed.type
object FailedDependency.type
object Forbidden.type
object Found.type
object GatewayTimeout.type
object Gone.type
object LengthRequired.type
object Locked.type
object MethodNotAllowed.type
object MisdirectedRequest.type
object MovedPermanently.type
object MultiStatus.type
object MultipleChoices.type
object NoContent.type
object NotAcceptable.type
object NotExtended.type
object NotFound.type
object NotImplemented.type
object NotModified.type
object Ok.type
object PartialContent.type
object PaymentRequired.type
object PermanentRedirect.type
object PreconditionFailed.type
object Processing.type
object RequestTimeout.type
object RequestUriTooLong.type
object ResetContent.type
object SeeOther.type
object ServiceUnavailable.type
object SwitchingProtocols.type
object TemporaryRedirect.type
object TooManyRequests.type
object Unauthorized.type
object UpgradeRequired.type
object UseProxy.type
Self type
object Status

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Status.type
sealed trait Version

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Http_1_0.type
object Http_1_1.type
Self type
object Version

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Version.type

Types

type Header = Header

Value members

Concrete fields

val HTTP_CHARSET: Charset

Default HTTP Charset

Default HTTP Charset

Attributes

val Header: Header.type