com.sun.jersey.core.header
Class ParameterizedHeader
java.lang.Object
com.sun.jersey.core.header.ParameterizedHeader
public class ParameterizedHeader
- extends java.lang.Object
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 seaprators 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 ';'.
- Author:
- [email protected]
Method Summary |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Get the parameters. |
java.lang.String |
getValue()
Get the value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterizedHeader
public ParameterizedHeader(java.lang.String header)
throws java.text.ParseException
- Throws:
java.text.ParseException
ParameterizedHeader
public ParameterizedHeader(HttpHeaderReader reader)
throws java.text.ParseException
- Throws:
java.text.ParseException
getValue
public java.lang.String getValue()
- Get the value.
- Returns:
- the value.
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
- Get the parameters.
- Returns:
- the parameters
Copyright © 2011 Oracle Corporation. All Rights Reserved.