ResponseHeaders

io.github.edadma.apion.ResponseHeaders
See theResponseHeaders companion object

ResponseHeaders wraps the header map to provide case-insensitive access while maintaining canonical header casing for the outgoing response

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def add(header: String, value: String): ResponseHeaders
def addAll(newHeaders: Seq[(String, String)]): ResponseHeaders
def contains(header: String): Boolean
def get(header: String): Option[String]
def normalize(header: String): String
def remove(header: String): ResponseHeaders
def toMap: Map[String, List[String]]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any