org.http4s
Members list
Type members
Classlikes
Attributes
- Source:
- AuthScheme.scala
- Graph
- Supertypes
- Self type
- AuthScheme.type
Attributes
- Source:
- AuthedRequest.scala
- Graph
- Supertypes
- Self type
- AuthedRequest.type
Attributes
- Source:
- AuthedRoutes.scala
- Graph
- Supertypes
- Self type
- AuthedRoutes.type
Attributes
- Companion:
- object
- Source:
- Credentials.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Credentials.scala
- Graph
- Supertypes
- Self type
- BasicCredentials.type
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Attributes
- Source:
- BuildInfo.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type
- BuildInfo.type
Attributes
- Companion:
- object
- Source:
- CacheDirective.scala
- Graph
- Supertypes
- Known subtypes
- class `private`class max-ageclass max-staleclass min-freshobject must-revalidate.typeclass no-cacheobject no-store.typeobject no-transform.typeobject only-if-cached.typeobject proxy-revalidate.typeobject public.typeclass s-maxageclass stale-if-errorclass stale-while-revalidate
A registry of cache-directives, as listed in http://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml
A registry of cache-directives, as listed in http://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml
Attributes
- Companion:
- trait
- Source:
- CacheDirective.scala
- Graph
- Supertypes
- Self type
- CacheDirective.type
Attributes
- Source:
- Challenge.scala
- Graph
- Supertypes
Attributes
- Companion:
- object
- Source:
- Charset.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Charset.scala
- Graph
- Supertypes
- Self type
- Charset.type
Attributes
- Companion:
- object
- Source:
- CharsetRange.scala
- Graph
- Supertypes
- Known subtypes
Attributes
- Companion:
- class
- Source:
- CharsetRange.scala
- Graph
- Supertypes
- Self type
- CharsetRange.type
Attributes
- Source:
- package.scala
- Graph
- Supertypes
Attributes
- Companion:
- object
- Source:
- ContentCoding.scala
- Graph
- Supertypes
- trait Renderabletrait Ordered[ContentCoding]trait Comparable[ContentCoding]trait HasQValueclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- ContentCoding.scala
- Graph
- Supertypes
- Self type
- ContentCoding.type
Attributes
- Companion:
- object
- Source:
- ContextRequest.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- ContextRequest.scala
- Graph
- Supertypes
- Self type
- ContextRequest.type
Attributes
- Companion:
- object
- Source:
- ContextResponse.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- ContextResponse.scala
- Graph
- Supertypes
- Self type
- ContextResponse.type
Attributes
- Source:
- ContextRoutes.scala
- Graph
- Supertypes
- Self type
- ContextRoutes.type
Attributes
- Companion:
- object
- Source:
- Credentials.scala
- Graph
- Supertypes
- Known subtypes
- class AuthParamsclass Token
Attributes
- Companion:
- class
- Source:
- Credentials.scala
- Graph
- Supertypes
- Self type
- Credentials.type
Indicates a problem decoding a Message. This may either be a problem with the entity headers or with the entity itself.
Indicates a problem decoding a Message. This may either be a problem with the entity headers or with the entity itself.
Attributes
- Companion:
- object
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion:
- trait
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- Self type
- DecodeFailure.type
Attributes
- Source:
- DecodeResult.scala
- Graph
- Supertypes
- Self type
- DecodeResult.type
Attributes
- Companion:
- object
- Source:
- Entity.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Entity.scala
- Graph
- Supertypes
- Self type
- Entity.type
A type that can be used to decode a Message EntityDecoder is used to attempt to decode a Message returning the entire resulting A. If an error occurs it will result in a failed effect. The default decoders provided here are not streaming, but one could implement a streaming decoder by having the value of A be some kind of streaming construct.
A type that can be used to decode a Message EntityDecoder is used to attempt to decode a Message returning the entire resulting A. If an error occurs it will result in a failed effect. The default decoders provided here are not streaming, but one could implement a streaming decoder by having the value of A be some kind of streaming construct.
Attributes
- T
result type produced by the decoder
- Companion:
- object
- Source:
- EntityDecoder.scala
- Graph
- Supertypes
- Self type
EntityDecoder is used to attempt to decode an EntityBody
This companion object provides a way to create new EntityDecoder
s along
with some commonly used instances which can be resolved implicitly.
EntityDecoder is used to attempt to decode an EntityBody
This companion object provides a way to create new EntityDecoder
s along
with some commonly used instances which can be resolved implicitly.
Attributes
- Companion:
- trait
- Source:
- EntityDecoder.scala
- Graph
- Supertypes
- Self type
- EntityDecoder.type
Attributes
- Companion:
- object
- Source:
- EntityEncoder.scala
- Graph
- Supertypes
- Self type
Attributes
- Companion:
- trait
- Source:
- EntityEncoder.scala
- Graph
- Supertypes
- Self type
- EntityEncoder.type
Attributes
- Companion:
- object
- Source:
- EntityTag.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- EntityTag.scala
- Graph
- Supertypes
- Self type
- EntityTag.type
A decoder ware that uses QueryParamDecoder to decode values in org.http4s.UrlForm
A decoder ware that uses QueryParamDecoder to decode values in org.http4s.UrlForm
Attributes
- Example:
scala> import cats.syntax.all._ scala> import cats.data._ scala> import org.http4s.FormDataDecoder._ scala> import org.http4s.ParseFailure scala> case class Foo(a: String, b: Boolean) scala> case class Bar(fs: List[Foo], f: Foo, d: Boolean) scala> scala> implicit val fooMapper: FormDataDecoder[Foo] = ( | field[String]("a"), | field[Boolean]("b") | ).mapN(Foo.apply) scala> scala> val barMapper = ( | list[Foo]("fs"), | nested[Foo]("f"), | field[Boolean]("d") | ).mapN(Bar.apply) scala> scala> barMapper( | Map( | "fs[].a" -> Chain("a1", "a2"), | "fs[].b" -> Chain("true", "false"), | "f.a" -> Chain("fa"), | "f.b" -> Chain("false"), | "d" -> Chain("true")) | ) res1: ValidatedNel[ParseFailure, Bar] = Valid(Bar(List(Foo(a1,true), Foo(a2,false)),Foo(fa,false),true))
The companion object provides a EntityDecoder from HTML form parameters.
import org.http4s.FormDataDecoder.formEntityDecoder HttpRoutes .of[F] { case req @ POST -> Root => req.as[MyEntity].flatMap { entity => Ok() } }
For more examples, check the tests https://github.com/http4s/http4s/blob/main/tests/src/test/scala/org/http4s/FormDataDecoderSpec.scala
- Companion:
- object
- Source:
- FormDataDecoder.scala
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Source:
- FormDataDecoder.scala
- Graph
- Supertypes
- Self type
- FormDataDecoder.type
Attributes
- Source:
- QValue.scala
- Graph
- Supertypes
- Known subtypes
Typeclass representing an HTTP header, which all the http4s
default headers satisfy.
You can add modelled headers by providing an implicit instance of
Header[YourModelledHeader]
Typeclass representing an HTTP header, which all the http4s
default headers satisfy.
You can add modelled headers by providing an implicit instance of
Header[YourModelledHeader]
Attributes
- Companion:
- object
- Source:
- Header.scala
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Source:
- Header.scala
- Graph
- Supertypes
- Self type
- Header.type
A collection of HTTP Headers
A collection of HTTP Headers
Attributes
- Companion:
- object
- Source:
- Headers.scala
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- Headers.scala
- Graph
- Supertypes
- Self type
- Headers.type
Functions for creating Http kleislis.
Poor's man discipline runner to check a set of PropF[F]
Poor's man discipline runner to check a set of PropF[F]
Attributes
- Source:
- Http4sLawSuite.scala
- Graph
- Supertypes
- trait ScalaCheckEffectSuitetrait ScalaCheckSuiteclass FunSuitetrait BaseFunSuitetrait ValueTransformstrait SuiteTransformstrait TestTransformstrait TestOptionsConversionstrait FunFixturestrait Assertionstrait CompileErrorMacroclass Suitetrait PlatformSuiteclass Objecttrait Matchableclass Any
Common stack for http4s' munit based tests
Common stack for http4s' munit based tests
Attributes
- Source:
- Http4sSuite.scala
- Graph
- Supertypes
- trait Http4sSuitePlatformtrait ScalaCheckEffectSuitetrait DisciplineSuitetrait ScalaCheckSuiteclass CatsEffectSuitetrait CatsEffectFunFixturestrait CatsEffectFixturestrait CatsEffectAssertionsclass FunSuitetrait BaseFunSuitetrait ValueTransformstrait SuiteTransformstrait TestTransformstrait TestOptionsConversionstrait FunFixturestrait Assertionstrait CompileErrorMacroclass Suitetrait PlatformSuiteclass Objecttrait Matchableclass Any
Attributes
- Source:
- Http4sSuitePlatform.scala
- Graph
- Supertypes
- Known subtypes
- trait Http4sSuite
- Self type
Attributes
- Source:
- Http4sVersion.scala
- Graph
- Supertypes
Functions for creating HttpApp kleislis.
Functions for creating HttpApp kleislis.
Attributes
- Source:
- HttpApp.scala
- Graph
- Supertypes
- Self type
- HttpApp.type
Attributes
- Companion:
- object
- Source:
- HttpCodec.scala
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Source:
- HttpCodec.scala
- Graph
- Supertypes
- Self type
- HttpCodec.type
An HTTP-date value represents time as an instance of Coordinated Universal Time (UTC). It expresses time at a resolution of one second. By using it over java.time.Instant in the model, we assure that if two headers render equally, their values are equal.
An HTTP-date value represents time as an instance of Coordinated Universal Time (UTC). It expresses time at a resolution of one second. By using it over java.time.Instant in the model, we assure that if two headers render equally, their values are equal.
Attributes
- See also:
- Companion:
- object
- Source:
- HttpDate.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- HttpDate.scala
- Graph
- Supertypes
- Self type
- HttpDate.type
Functions for creating HttpRoutes kleislis.
Functions for creating HttpRoutes kleislis.
Attributes
- Source:
- HttpRoutes.scala
- Graph
- Supertypes
- Self type
- HttpRoutes.type
HTTP's version number consists of two decimal digits separated by a "." (period or decimal point). The first digit ("major version") indicates the messaging syntax, whereas the second digit ("minor version") indicates the highest minor version within that major version to which the sender is conformant (able to understand for future communication).
HTTP's version number consists of two decimal digits separated by a "." (period or decimal point). The first digit ("major version") indicates the messaging syntax, whereas the second digit ("minor version") indicates the highest minor version within that major version to which the sender is conformant (able to understand for future communication).
Attributes
- major
The major version,
0
to9
inclusive- minor
The minor version,
0
to9
inclusive- See also:
Semantics, Protocol Versioning
- Companion:
- object
- Source:
- HttpVersion.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Ordered[HttpVersion]trait Comparable[HttpVersion]trait Renderableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- HttpVersion.scala
- Graph
- Supertypes
- Self type
- HttpVersion.type
Exception dealing with invalid body
Exception dealing with invalid body
Attributes
- msg
description if what makes the body invalid
- Source:
- InvalidBodyException.scala
- Graph
- Supertypes
- trait Producttrait Equalstrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Indicates a semantic error decoding the body of an HTTP Message.
Indicates a semantic error decoding the body of an HTTP Message.
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait Producttrait Equalstrait MessageBodyFailuretrait DecodeFailuretrait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Exception dealing with invalid response
Exception dealing with invalid response
Attributes
- msg
description if what makes the response invalid
- Source:
- InvalidResponseException.scala
- Graph
- Supertypes
- trait Producttrait Equalstrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- LanguageTag.scala
- Graph
- Supertypes
- Self type
- LanguageTag.type
Attributes
- Companion:
- object
- Source:
- LanguageTag.scala
- Graph
- Supertypes
Indicates an syntactic error decoding the body of an HTTP Message.
Indicates an syntactic error decoding the body of an HTTP Message.
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait Producttrait Equalstrait MessageBodyFailuretrait DecodeFailuretrait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- trait
- Source:
- Media.scala
- Graph
- Supertypes
- Self type
- Media.type
Attributes
- Companion:
- object
- Source:
- MediaType.scala
- Graph
- Supertypes
- Known subtypes
- class MediaType
Attributes
- Companion:
- class
- Source:
- MediaType.scala
- Graph
- Supertypes
- Self type
- MediaRange.type
Attributes
- Companion:
- object
- Source:
- MediaType.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- MediaType.scala
- Graph
- Supertypes
- Self type
- MediaType.type
Indicates that no EntityDecoder matches the MediaType of the Message being decoded
Indicates that no EntityDecoder matches the MediaType of the Message being decoded
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait Producttrait Equalstrait NoStackTracetrait DecodeFailuretrait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Indicates that a Message attempting to be decoded has no MediaType and no EntityDecoder was lenient enough to accept it.
Indicates that a Message attempting to be decoded has no MediaType and no EntityDecoder was lenient enough to accept it.
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait Producttrait Equalstrait NoStackTracetrait DecodeFailuretrait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Represents a HTTP Message. The interesting subclasses are Request and Response.
Attributes
- Companion:
- trait
- Source:
- Message.scala
- Graph
- Supertypes
- Self type
- Message.type
Indicates a problem decoding a Message body.
Indicates a problem decoding a Message body.
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait DecodeFailuretrait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
Indicates a failure to handle an HTTP Message.
Indicates a failure to handle an HTTP Message.
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
- trait DecodeFailuretrait MessageBodyFailureclass MediaTypeMismatchclass MediaTypeMissingclass ParseFailure
An HTTP method.
An HTTP method.
Attributes
- isIdempotent
A request method is considered "idempotent" if the intended effect on the server of multiple identical requests with that method is the same as the effect for a single such request.
- isSafe
Request methods are considered "safe" if their defined semantics are essentially read-only; i.e., the client does not request, and does not expect, any state change on the origin server as a result of applying a safe method to a target resource.
- name
The name of the method
- See also:
- Companion:
- object
- Source:
- Method.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Method.scala
- Graph
- Supertypes
- Self type
- Method.type
Indicates an error parsing an HTTP Message.
Indicates an error parsing an HTTP Message.
Attributes
- details
Contains any relevant details omitted from the sanitized version of the error. This may freely echo a Request.
- sanitized
May safely be displayed to a client to describe an error condition. Should not echo any part of a Request.
- Companion:
- object
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait Producttrait Equalstrait NoStackTracetrait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- Self type
- ParseFailure.type
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- Self type
- ParseResult.type
Attributes
- Companion:
- object
- Source:
- ProductIdOrComment.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait ProductIdOrCommenttrait Renderableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- ProductIdOrComment.scala
- Graph
- Supertypes
- Self type
- ProductComment.type
Attributes
- Companion:
- object
- Source:
- ProductIdOrComment.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait ProductIdOrCommenttrait Renderableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- ProductIdOrComment.scala
- Graph
- Supertypes
- Self type
- ProductId.type
Attributes
- Companion:
- object
- Source:
- ProductIdOrComment.scala
- Graph
- Supertypes
- Known subtypes
- class ProductCommentclass ProductId
Attributes
- Companion:
- trait
- Source:
- ProductIdOrComment.scala
- Graph
- Supertypes
- Self type
- ProductIdOrComment.type
Attributes
- Companion:
- object
- Source:
- Protocol.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Protocol.scala
- Graph
- Supertypes
- Self type
- Protocol.type
A Quality Value. Represented as thousandths for an exact representation rounded to three decimal places.
A Quality Value. Represented as thousandths for an exact representation rounded to three decimal places.
Attributes
- thousandths
between 0 (for q=0) and 1000 (for q=1)
- See also:
- Companion:
- object
- Source:
- QValue.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- QValue.scala
- Graph
- Supertypes
- Self type
- QValue.type
Attributes
- Source:
- QValuePlatform.scala
- Graph
- Supertypes
- Known subtypes
- object QValue.type
Collection representation of a query string
Collection representation of a query string
It is a indexed sequence of key and maybe a value pairs which maps precisely to a query string, modulo percent-encoding.
When rendered, the resulting String
will have the pairs separated
by '&' while the key is separated from the value with '='
Attributes
- Companion:
- object
- Source:
- Query.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Query.scala
- Graph
- Supertypes
- Self type
- Query.type
Attributes
- Source:
- QueryOps.scala
- Graph
- Supertypes
- Known subtypes
type class defining the key of a query parameter Usually used in conjunction with QueryParamEncoder and QueryParamDecoder
type class defining the key of a query parameter Usually used in conjunction with QueryParamEncoder and QueryParamDecoder
Any QueryParam instance is also a valid QueryParamKeyLike instance where the same key is used for all values.
Attributes
- Companion:
- object
- Source:
- QueryParam.scala
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Self type
- QueryParam.type
Attributes
- Companion:
- object
- Source:
- QueryParam.scala
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Self type
- QueryParamCodec.type
Type class defining how to decode a QueryParameterValue into a T
Type class defining how to decode a QueryParameterValue into a T
Attributes
- See also:
QueryParamCodecLaws
- Companion:
- object
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Known subtypes
- trait QueryParamCodec[T]
- Self type
Attributes
- Companion:
- trait
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Self type
- QueryParamDecoder.type
Type class defining how to encode a T
as a QueryParameterValues
Type class defining how to encode a T
as a QueryParameterValues
Attributes
- See also:
QueryParamCodecLaws
- Companion:
- object
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Known subtypes
- trait QueryParamCodec[T]
- Self type
Attributes
- Companion:
- trait
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Self type
- QueryParamEncoder.type
Attributes
- Companion:
- object
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Known subtypes
- trait QueryParam[T]
Attributes
- Companion:
- trait
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Self type
- QueryParamKeyLike.type
Attributes
- Companion:
- object
- Source:
- QueryParam.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Self type
- QueryParameterKey.type
Attributes
- Companion:
- object
- Source:
- QueryParam.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- QueryParam.scala
- Graph
- Supertypes
- Self type
- QueryParameterValue.type
Attributes
- Companion:
- class
- Source:
- RangeUnit.scala
- Graph
- Supertypes
- Self type
- RangeUnit.type
Attributes
- Companion:
- object
- Source:
- RangeUnit.scala
- Graph
- Supertypes
Representation of an incoming HTTP message
Representation of an incoming HTTP message
A Request encapsulates the entirety of the incoming HTTP request including the status line, headers, and a possible request body.
Attributes
- attributes
Immutable Map used for carrying additional information in a type safe fashion
- body
fs2.Stream[F, Byte] defining the body of the request
- headers
collection of Headers
- httpVersion
the HTTP version
- method
Method.GET, Method.POST, etc.
- uri
representation of the request URI
- Companion:
- object
- Source:
- Message.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Message.scala
- Graph
- Supertypes
- Self type
- Request.type
Attributes
- Companion:
- object
- Source:
- RequestCookie.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- RequestCookie.scala
- Graph
- Supertypes
- Self type
- RequestCookie.type
A projection of a Request without the body.
A projection of a Request without the body.
Attributes
- Note:
The Request#attributes are omitted in this encoding because they do not (and can not) have a cats.kernel.Order instance. If they were included here, then we could not write a cats.kernel.Order instance for RequestPrelude, limiting some of its utility, e.g. it could not be used in a cats.data.NonEmptySet.
- Companion:
- object
- Source:
- RequestPrelude.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- RequestPrelude.scala
- Graph
- Supertypes
- Self type
- RequestPrelude.type
Representation of the HTTP response to send back to the client
Representation of the HTTP response to send back to the client
Attributes
- attributes
org.typelevel.vault.Vault containing additional parameters which may be used by the http4s backend for additional processing such as java.io.File object
- body
EntityBody[F] representing the possible body of the response
- headers
Headers containing all response headers
- status
Status code and message
- Companion:
- object
- Source:
- Message.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Message.scala
- Graph
- Supertypes
- Self type
- Response.type
Attributes
- extension
The extension attributes of the cookie. If there is more than one, they are joined by semi-colon, which must not appear in an attribute value.
- Companion:
- object
- Source:
- ResponseCookie.scala
- Graph
- Supertypes
- Self type
Attributes
- Companion:
- class
- Source:
- ResponseCookie.scala
- Graph
- Supertypes
- Self type
- ResponseCookie.type
A projection of a Response without the body.
A projection of a Response without the body.
Attributes
- Note:
The Response#attributes are omitted in this encoding because they do not (and can not) have a cats.kernel.Order instance. If they were included here, then we could not write a cats.kernel.Order instance for ResponsePrelude, limiting some of its utility, e.g. it could not be used in a cats.data.NonEmptySet.
- Companion:
- object
- Source:
- ResponsePrelude.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- ResponsePrelude.scala
- Graph
- Supertypes
- Self type
- ResponsePrelude.type
RFC6265 SameSite cookie attribute values.
RFC6265 SameSite cookie attribute values.
Attributes
- Companion:
- object
- Source:
- SameSite.scala
- Graph
- Supertypes
- Known subtypes
Attributes
- Companion:
- trait
- Source:
- SameSite.scala
- Graph
- Supertypes
- Self type
- SameSite.type
Attributes
- Companion:
- object
- Source:
- ServerSentEvent.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- ServerSentEvent.scala
- Graph
- Supertypes
- Self type
- ServerSentEvent.type
Attributes
- Companion:
- object
- Source:
- ServerSoftware.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- ServerSoftware.scala
- Graph
- Supertypes
- Self type
- ServerSoftware.type
Attributes
- Source:
- StaticFile.scala
- Graph
- Supertypes
- Self type
- StaticFile.type
Representation of the HTTP response code and reason
Representation of the HTTP response code and reason
'''Note: ''' the reason is not important to the protocol and is not considered in equality checks.
Attributes
- code
HTTP status code
- reason
reason for the response. eg, OK
- See also:
- Companion:
- object
- Source:
- Status.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderabletrait Comparable[Status]class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- Status.scala
- Graph
- Supertypes
- Self type
- Status.type
Attributes
- Companion:
- object
- Source:
- TransferCoding.scala
- Graph
- Supertypes
- trait Renderabletrait Ordered[TransferCoding]trait Comparable[TransferCoding]class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- TransferCoding.scala
- Graph
- Supertypes
- Self type
- TransferCoding.type
Attributes
- Source:
- MessageFailure.scala
- Graph
- Supertypes
- trait NoStackTracetrait DecodeFailuretrait MessageFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
- class MediaTypeMismatchclass MediaTypeMissing
Representation of the Request URI
Representation of the Request URI
Attributes
- authority
optional Uri Authority. eg, localhost:8080, www.foo.bar
- fragment
optional Uri Fragment. url-encoded.
- path
url-encoded string representation of the path component of the Uri.
- query
optional Query. url-encoded.
- scheme
optional Uri Scheme. eg, http, https
- Companion:
- object
- Source:
- Uri.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderabletrait QueryOpsclass Objecttrait Matchableclass Any
Attributes
Attributes
- Source:
- UriPlatform.scala
- Graph
- Supertypes
- Known subtypes
- object Uri.type
Simple representation of a URI Template that can be rendered as RFC6570 conform string.
Simple representation of a URI Template that can be rendered as RFC6570 conform string.
This model reflects only a subset of RFC6570.
Level 1 and Level 2 are completely modeled and Level 3 features are limited to:
- Path segments, slash-prefixed
- Form-style query, ampersand-separated
- Fragment expansion
Attributes
- Companion:
- object
- Source:
- UriTemplate.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- UriTemplate.scala
- Graph
- Supertypes
- Self type
- UriTemplate.type
Attributes
- Companion:
- object
- Source:
- UrlForm.scala
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- UrlForm.scala
- Graph
- Supertypes
- Self type
- UrlForm.type
Attributes
- Source:
- package.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Producttrait Equalsclass TimeoutExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Self type
Attributes
- Source:
- implicits.scala
- Graph
- Supertypes
- trait AllSyntaxtrait HeaderSyntaxtrait LiteralsSyntaxtrait StringSyntaxtrait KleisliSyntaxclass Objecttrait Matchableclass Any
- Self type
- implicits.type
Deprecated classlikes
Attributes
- Deprecated
- true
- Source:
- MediaTypePlaform.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Deprecated
- true
- Source:
- RequestCookieJar.scala
- Graph
- Supertypes
- Self type
- RequestCookieJar.type
Attributes
- Companion:
- object
- Deprecated
- true
- Source:
- RequestCookieJar.scala
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Types
Attributes
- Source:
- package.scala
Attributes
- Source:
- package.scala
The type parameters need to be in this order to make partial unification trigger. See https://github.com/http4s/http4s/issues/1506
The type parameters need to be in this order to make partial unification trigger. See https://github.com/http4s/http4s/issues/1506
Attributes
- Source:
- package.scala
Attributes
- Source:
- package.scala
Attributes
- Source:
- package.scala
Attributes
- Source:
- package.scala
A stream of server-sent events
A kleisli with a Request input and a Response output, such that the response effect is the same as the request and response bodies'. An HTTP app is total on its inputs. An HTTP app may be run by a server, and a client can be converted to or from an HTTP app.
A kleisli with a Request input and a Response output, such that the response effect is the same as the request and response bodies'. An HTTP app is total on its inputs. An HTTP app may be run by a server, and a client can be converted to or from an HTTP app.
Attributes
- F
the effect type in which the Response is returned, and also of the Request and Response bodies.
- Source:
- package.scala
A kleisli with a Request input and a Response output, such
that the response effect is an optional inside the effect of the
request and response bodies. HTTP routes can conveniently be
constructed from a partial function and combined as a
SemigroupK
.
A kleisli with a Request input and a Response output, such
that the response effect is an optional inside the effect of the
request and response bodies. HTTP routes can conveniently be
constructed from a partial function and combined as a
SemigroupK
.
Attributes
- F
the effect type of the Request and Response bodies, and the base monad of the
OptionT
in which the response is returned.- Source:
- package.scala
Attributes
- Source:
- package.scala
Value members
Deprecated fields
Attributes
- Deprecated
- true
- Source:
- package.scala