public class ParallecHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.String> |
headerMap
The header map.
|
Constructor and Description |
---|
ParallecHeader()
Instantiates a new parallec header.
|
Modifier and Type | Method and Description |
---|---|
ParallecHeader |
addPair(java.lang.String key,
java.lang.String value)
Adds the pair.
|
java.util.Map<java.lang.String,java.lang.String> |
getHeaderMap()
Gets the header map.
|
java.lang.String |
getHeaderStr()
Gets the header str.
|
java.lang.String |
toString() |
private final java.util.Map<java.lang.String,java.lang.String> headerMap
public ParallecHeader addPair(java.lang.String key, java.lang.String value)
key
- the keyvalue
- the valuepublic java.util.Map<java.lang.String,java.lang.String> getHeaderMap()
public java.lang.String getHeaderStr()
public java.lang.String toString()
toString
in class java.lang.Object