Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/mvc/Headers.html below:
Headers - play.api.mvc.Headers
final def !=(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
final def ##(): Int
-
Definition Classes
-
AnyRef â Any
final def ==(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
var _headers: Seq[(String, String)]
The sequence of values.
The sequence of values. This value is protected and mutable since subclasses might initially set it to a null
value and then initialize it lazily.
-
Attributes
-
protected
def add(headers: (String, String)*): Headers
Append the given headers
def apply(key: String): String
Retrieves the first header value which is associated with the given key.
final def asInstanceOf[T0]: T0
-
Definition Classes
-
Any
def clone(): AnyRef
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def eq(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
def equals(other: Any): Boolean
-
Definition Classes
-
Headers â AnyRef â Any
def finalize(): Unit
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( classOf[java.lang.Throwable] )
def get(key: String): Option[String]
Optionally returns the first header value associated with a key.
def getAll(key: String): Seq[String]
Retrieve all header values associated with the given key.
final def getClass(): Class[_]
-
Definition Classes
-
AnyRef â Any
def hashCode(): Int
-
Definition Classes
-
Headers â AnyRef â Any
def headers: Seq[(String, String)]
The headers as a sequence of name-value pairs.
final def isInstanceOf[T0]: Boolean
-
Definition Classes
-
Any
def keys: Set[String]
Retrieve all header keys
final def ne(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
final def notify(): Unit
-
Definition Classes
-
AnyRef
final def notifyAll(): Unit
-
Definition Classes
-
AnyRef
def remove(keys: String*): Headers
Remove any headers with the given keys
def replace(headers: (String, String)*): Headers
Append the given headers, replacing any existing headers having the same keys
final def synchronized[T0](arg0: â T0): T0
-
Definition Classes
-
AnyRef
lazy val toMap: Map[String, Seq[String]]
Transform the Headers to a Map
lazy val toSimpleMap: Map[String, String]
Transform the Headers to a Map by ignoring multiple values.
def toString(): String
-
Definition Classes
-
Headers â AnyRef â Any
final def wait(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long, arg1: Int): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4