OutputValues

sttp.tapir.server.interpreter.OutputValues
See theOutputValues companion object
case class OutputValues[B](body: Option[HasHeaders => B], baseHeaders: Vector[Header], headerTransformations: Vector[Vector[Header] => Vector[Header]], statusCode: Option[StatusCode])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def headers: Seq[Header]
def withBody(b: HasHeaders => B): OutputValues[B]
def withDefaultContentType(format: CodecFormat, charset: Option[Charset]): OutputValues[B]
def withHeader(n: String, v: String): OutputValues[B]
def withHeaderTransformation(t: Vector[Header] => Vector[Header]): OutputValues[B]
def withStatusCode(sc: StatusCode): OutputValues[B]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product