|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.message.internal.ParameterizedHeader
public class ParameterizedHeader
A general parameterized header.
The header consists of a value and zero or more parameters. A value consists of zero or more tokens and separators up to but not including a ';' separator if present. The tokens and separators of a value may be separated by zero or more white space, which is ignored and is not considered part of the value. The value is separated from the parameters with a ';'. Each parameter is separated with a ';'.
| Constructor Summary | |
|---|---|
ParameterizedHeader(HttpHeaderReader reader)
Create a parameterized header from given http header reader. |
|
ParameterizedHeader(String header)
Create a parameterized header from given string value. |
|
| Method Summary | |
|---|---|
Map<String,String> |
getParameters()
Get the parameters. |
String |
getValue()
Get the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterizedHeader(String header)
throws ParseException
header - header to create parameterized header from.
ParseException - if an un-expected/in-correct value is found during parsing the header.
public ParameterizedHeader(HttpHeaderReader reader)
throws ParseException
http header reader.
reader - reader to initialize new parameterized header from.
ParseException - if an un-expected/in-correct value is found during parsing the header.| Method Detail |
|---|
public String getValue()
public Map<String,String> getParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||