vertx / io.vertx.reactivex.ext.web / ParsedHeaderValue

ParsedHeaderValue

interface ParsedHeaderValue

Functions

getDelegate

abstract fun getDelegate(): ParsedHeaderValue

isMatchedBy

abstract fun isMatchedBy(matchTry: ParsedHeaderValue): Boolean

Test if this header is matched by matchTry header

isPermitted

abstract fun isPermitted(): Boolean

Is this an allowed operation as specified by the corresponding header?

newInstance

open static fun newInstance(arg: ParsedHeaderValue): ParsedHeaderValue

parameter

abstract fun parameter(key: String): String

The value of the parameter specified by this key. Each is one of 3 things:

  1. null <- That key was not specified
  2. ParsedHeaderValue.EMPTY (tested using ==) <- The value was not specified
  3. [Other] <- The value of the parameter
Note: The q parameter is never present.

parameters

abstract fun parameters(): MutableMap<String, String>

The parameters specified in this header value. Note: The q parameter is never present.

rawValue

abstract fun rawValue(): String

Contains the raw value that was received from the user agent

value

abstract fun value(): String

Holds the unparsed value of the header. For the most part, this is the content before the semi-colon (";")

weight

abstract fun 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

weightedOrder

abstract fun weightedOrder(): Int

An integer that represents the absolute order position of this header