object Header
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Header
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- 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
- def accept(mediaRanges: String): Header
- def acceptCharset(charsetRanges: String): Header
- def acceptEncoding(encodingRanges: String): Header
- def accessControlAllowCredentials(allow: Boolean): Header
- def accessControlAllowHeaders(headerNames: String*): Header
- def accessControlAllowMethods(methods: Method*): Header
- def accessControlAllowOrigin(originRange: String): Header
- def accessControlExposeHeaders(headerNames: String*): Header
- def accessControlMaxAge(deltaSeconds: Long): Header
- def accessControlRequestHeaders(headerNames: String*): Header
- def accessControlRequestMethod(method: Method): Header
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def authorization(authType: String, credentials: String): Header
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def contentEncoding(encoding: String): Header
- def contentLength(length: Long): Header
- def contentType(mediaType: MediaType): Header
- def cookie(firstCookie: Cookie, otherCookies: Cookie*): Header
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def etag(tag: String): Header
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notValidated(name: String, value: String): Header
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def proxyAuthorization(authType: String, credentials: String): Header
- def safeApply(name: String, value: String): Either[String, Header]
- def setCookie(cookie: CookieWithMeta): Header
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unapply(h: Header): Option[(String, String)]
- def unsafeApply(name: String, value: String): Header
- Exceptions thrown
IllegalArgumentException
If the header name contains illegal characters.
- def userAgent(userAgent: String): Header
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def xForwardedFor(firstAddress: String, otherAddresses: String*): Header