public class HttpActionHeader extends Object implements Serializable
The HTTP action header.
| Constructor and Description |
|---|
HttpActionHeader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getKey()
The HTTP header key.
|
String |
getValue()
The HTTP header value.
|
int |
hashCode() |
void |
setKey(String key)
The HTTP header key.
|
void |
setValue(String value)
The HTTP header value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HttpActionHeader |
withKey(String key)
The HTTP header key.
|
HttpActionHeader |
withValue(String value)
The HTTP header value.
|
public String getKey()
The HTTP header key.
Constraints:
Length: 1 - 256
The HTTP header key.
public void setKey(String key)
The HTTP header key.
Constraints:
Length: 1 - 256
key - The HTTP header key.
public HttpActionHeader withKey(String key)
The HTTP header key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
key - The HTTP header key.
public String getValue()
The HTTP header value. Substitution templates are supported.
The HTTP header value. Substitution templates are supported.
public void setValue(String value)
The HTTP header value. Substitution templates are supported.
value - The HTTP header value. Substitution templates are supported.
public HttpActionHeader withValue(String value)
The HTTP header value. Substitution templates are supported.
Returns a reference to this object so that method calls can be chained together.
value - The HTTP header value. Substitution templates are supported.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.