public class ParameterizedHeader extends Object
Constructor and Description |
---|
ParameterizedHeader(HttpHeaderReader reader)
Create a parameterized header from given
http header reader . |
ParameterizedHeader(String header)
Create a parameterized header from given string value.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getParameters()
Get the parameters.
|
String |
getValue()
Get the value.
|
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.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.