public interface ParsedHeaderValue
| Modifier and Type | Method and Description | 
|---|---|
ParsedHeaderValue | 
getDelegate()  | 
boolean | 
isMatchedBy(ParsedHeaderValue matchTry)
Test if this header is matched by matchTry header 
 | 
boolean | 
isPermitted()
Is this an allowed operation as specified by the corresponding header? 
 | 
static ParsedHeaderValue | 
newInstance(ParsedHeaderValue arg)  | 
String | 
parameter(String key)
The value of the parameter specified by this key. 
 | 
Map<String,String> | 
parameters()
The parameters specified in this header value. 
 | 
String | 
rawValue()
Contains the raw value that was received from the user agent 
 | 
String | 
value()
Holds the unparsed value of the header. 
For the most part, this is the content before the semi-colon (";")  | 
float | 
weight()
Holds the weight specified in the "q" parameter of the header. 
If the parameter is not specified, 1.0 is assumed according to rfc7231  | 
int | 
weightedOrder()
An integer that represents the absolute order position of this header 
 | 
ParsedHeaderValue getDelegate()
String rawValue()
String value()
float weight()
String parameter(String key)
q parameter is never present.key - Map<String,String> parameters()
q parameter is never present.boolean isPermitted()
boolean isMatchedBy(ParsedHeaderValue matchTry)
matchTry - The header to be matched fromint weightedOrder()
static ParsedHeaderValue newInstance(ParsedHeaderValue arg)
Copyright © 2020 Eclipse. All rights reserved.