org.glassfish.jersey.message.internal
Class ParameterizedHeader
java.lang.Object
org.glassfish.jersey.message.internal.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 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 ';'.
- Author:
- Paul Sandoz, Marek Potociar (marek.potociar at oracle.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 © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.