com.sun.jersey.core.header
Class ParameterizedHeader
java.lang.Object
com.sun.jersey.core.header.ParameterizedHeader
public class ParameterizedHeader
- extends 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:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterizedHeader
public ParameterizedHeader(String header)
throws ParseException
- Throws:
ParseException
ParameterizedHeader
public ParameterizedHeader(HttpHeaderReader reader)
throws ParseException
- Throws:
ParseException
getValue
public String getValue()
- Get the value.
- Returns:
- the value.
getParameters
public Map<String,String> getParameters()
- Get the parameters.
- Returns:
- the parameters
Copyright © 2011 Oracle Corporation. All Rights Reserved.