package formats
- Alphabetic
- Public
- All
Type Members
-
trait
AbstractResponseBuilder
[T] extends AnyRef
Convenience methods for building Http Responses
- class Auto [R] extends AnyRef
-
trait
JsonFormat
[ROOT_NODETYPE <: NODETYPE, NODETYPE] extends AnyRef
Capability to create and parse JSON message formats in a generic way.
Capability to create and parse JSON message formats in a generic way. Used to serialize and deserialize request parameters and bodies.
-
trait
JsonLibrary
[R <: N, N] extends AnyRef
Defines a supported JSON library format (e.g.
Defines a supported JSON library format (e.g. Argo or Json4s).
- R
- Root node type
- N
- Node type
-
class
ResponseBuilder
[T] extends AnyRef
Builds Http Responses using a particular custom format object.
Builds Http Responses using a particular custom format object. Plugs into the rest of the library.
- T
The custom format object type
-
trait
ResponseContentMagnet
[T] extends (ResponseBuilder[T]) ⇒ ResponseBuilder[T]
Magnet to convert content types (such as String, Buf, custom JSON types etc) to a common type that ResponseBuilders can accept.
Magnet to convert content types (such as String, Buf, custom JSON types etc) to a common type that ResponseBuilders can accept.
See companion object methods for various conversions available.
Value Members
-
object
Argo
extends JsonLibrary[JsonRootNode, JsonNode]
Argo JSON support (application/json content type)
-
object
Html
Native (string-based) HTML support (text/html content type)
- object JsonFormat
-
object
PlainText
Native (string-based) Text support (text/plain content type)
-
object
ResponseBuilder
Generic ResponseBuilder support
- object ResponseContentMagnet
-
object
XHtml
Native (Elem-based) XHtml support (application/xhtml+xml content type)
-
object
Xml
Native (Elem-based) Xml support (application/xml content type)