public class RequestSpec
extends java.lang.Object
| Constructor and Description |
|---|
RequestSpec(RequestMethod method,
java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
RequestMethod |
method() |
java.lang.String |
path() |
static RequestSpec |
requestSpec(RequestMethod method,
java.lang.String path) |
public RequestSpec(RequestMethod method, java.lang.String path)
public static RequestSpec requestSpec(RequestMethod method, java.lang.String path)
public RequestMethod method()
public java.lang.String path()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object