public class Matcher extends Object implements Serializable, Cloneable
Information to use when checking for a successful response from a target.
| Constructor and Description |
|---|
Matcher() |
| Modifier and Type | Method and Description |
|---|---|
Matcher |
clone() |
boolean |
equals(Object obj) |
String |
getHttpCode()
The HTTP codes.
|
int |
hashCode() |
void |
setHttpCode(String httpCode)
The HTTP codes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Matcher |
withHttpCode(String httpCode)
The HTTP codes.
|
public void setHttpCode(String httpCode)
The HTTP codes. The default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
httpCode - The HTTP codes. The default value is 200. You can specify multiple values (for example, "200,202") or a
range of values (for example, "200-299").public String getHttpCode()
The HTTP codes. The default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
public Matcher withHttpCode(String httpCode)
The HTTP codes. The default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
httpCode - The HTTP codes. The default value is 200. You can specify multiple values (for example, "200,202") or a
range of values (for example, "200-299").public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.