trait ParsedHeaderValue extends AnyRef
- Alphabetic
- By Inheritance
- ParsedHeaderValue
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def asJava: AnyRef
-
abstract
def
isMatchedBy(matchTry: ParsedHeaderValue): Boolean
Test if this header is matched by matchTry header * @param matchTry The header to be matched from
Test if this header is matched by matchTry header * @param matchTry The header to be matched from
- returns
true if this header represents a subset of matchTry, otherwise, false
-
abstract
def
isPermitted(): Boolean
Is this an allowed operation as specified by the corresponding header? * @return
-
abstract
def
parameter(key: String): Option[String]
The value of the parameter specified by this key.
The value of the parameter specified by this key. Each is one of 3 things:
- null <- That key was not specified
- ParsedHeaderValue.EMPTY (tested using ==) <- The value was not specified
- [Other] <- The value of the parameter
Note: The
q
parameter is never present. * @return -
abstract
def
parameters(): Map[String, String]
The parameters specified in this header value.
The parameters specified in this header value. Note: The
q
parameter is never present. * @return Unmodifiable Map of parameters of this header value -
abstract
def
rawValue(): String
Contains the raw value that was received from the user agent
-
abstract
def
value(): String
Holds the unparsed value of the header.
For the most part, this is the content before the semi-colon (";") -
abstract
def
weight(): Float
Holds the weight specified in the "q" parameter of the header.
If the parameter is not specified, 1.0 is assumed according to rfc7231 * @return -
abstract
def
weightedOrder(): Int
An integer that represents the absolute order position of this header
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- 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
- @native() @throws( ... )