HttpCodec

org.http4s.HttpCodec
See theHttpCodec companion object
trait HttpCodec[A] extends Renderer[A]

Attributes

Companion
object
Source
HttpCodec.scala
Graph
Supertypes
trait Renderer[A]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def parse(s: String): ParseResult[A]

Attributes

Source
HttpCodec.scala

Concrete methods

final def parseOrThrow(s: String): A

Warning: partial method.

Warning: partial method. Intended for tests and macros that have assured that s can be parsed to a valid A.

Attributes

Source
HttpCodec.scala

Inherited methods

def render(writer: Writer, t: A): Writer

Renders the object to the writer

Renders the object to the writer

Value parameters

t

object to render

writer

org.http4s.util.Writer to render to

Attributes

Returns

the same org.http4s.util.Writer provided

Inherited from:
Renderer
Source
Renderable.scala