Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HttpRestSchema.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HttpRestSchema[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HttpRestSchema[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HttpRestSchema[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HttpRestSchema[A]class Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
A compiler for Reader that abides by REST-semantics : fields that are annotated with httpLabel
, httpHeader
, httpQuery
, httpStatusCode
... are decoded from the corresponding metadata.
A compiler for Reader that abides by REST-semantics : fields that are annotated with httpLabel
, httpHeader
, httpQuery
, httpStatusCode
... are decoded from the corresponding metadata.
The rest is decoded from the body.
Attributes
Combines separate compilers :
Combines separate compilers :
- one specific to http metadata
- one specific to http bodies
the result is a compiler that knows how to split schemas so that upon encoding a piece of data, the relevant subset of the data is encoded as http metadata (headers, query parameters, etc) and the relevant subset of the data is encoded as http body.