public class HTTPHeader extends Object implements Serializable, Cloneable
The response from a GetSampledRequests request includes an
HTTPHeader complex type that appears as Headers in
the response syntax. HTTPHeader contains the names and values of
all of the headers that appear in one of the web requests that were returned
by GetSampledRequests.
| Constructor and Description |
|---|
HTTPHeader() |
| Modifier and Type | Method and Description |
|---|---|
HTTPHeader |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of one of the headers in the sampled web request.
|
String |
getValue()
The value of one of the headers in the sampled web request.
|
int |
hashCode() |
void |
setName(String name)
The name of one of the headers in the sampled web request.
|
void |
setValue(String value)
The value of one of the headers in the sampled web request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HTTPHeader |
withName(String name)
The name of one of the headers in the sampled web request.
|
HTTPHeader |
withValue(String value)
The value of one of the headers in the sampled web request.
|
public void setName(String name)
The name of one of the headers in the sampled web request.
name - The name of one of the headers in the sampled web request.public String getName()
The name of one of the headers in the sampled web request.
public HTTPHeader withName(String name)
The name of one of the headers in the sampled web request.
name - The name of one of the headers in the sampled web request.public void setValue(String value)
The value of one of the headers in the sampled web request.
value - The value of one of the headers in the sampled web request.public String getValue()
The value of one of the headers in the sampled web request.
public HTTPHeader withValue(String value)
The value of one of the headers in the sampled web request.
value - The value of one of the headers in the sampled web request.public String toString()
toString in class ObjectObject.toString()public HTTPHeader clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.