|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jayway.restassured.internal.TestSpecificationImpl
public class TestSpecificationImpl
| Constructor Summary | |
|---|---|
TestSpecificationImpl(RequestSpecification requestSpecification,
ResponseSpecification responseSpecification)
|
|
| Method Summary | |
|---|---|
Response |
delete(String path,
Map pathParams)
Perform a DELETE request to a path. |
Response |
delete(String path,
Object... pathParams)
Perform a DELETE request to a path. |
Response |
get(String path,
Map pathParams)
Perform a GET request to a path. |
Response |
get(String path,
Object... pathParams)
Perform a GET request to a path. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
RequestSpecification |
getRequestSpecification()
|
ResponseSpecification |
getResponseSpecification()
|
Response |
head(String path,
Map pathParams)
Perform a HEAD request to a path. |
Response |
head(String path,
Object... pathParams)
Perform a HEAD request to a path. |
Object |
invokeMethod(String method,
Object arguments)
|
Response |
post(String path,
Map pathParams)
Perform a POST request to a path. |
Response |
post(String path,
Object... pathParams)
Perform a POST request to a path. |
Response |
put(String path,
Map pathParams)
Perform a PUT request to a path. |
Response |
put(String path,
Object... pathParams)
Perform a PUT request to a path. |
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestSpecificationImpl(RequestSpecification requestSpecification,
ResponseSpecification responseSpecification)
| Method Detail |
|---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObject
public Object invokeMethod(String method,
Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObject
public void setProperty(String property,
Object value)
setProperty in interface groovy.lang.GroovyObject
public Response get(String path,
Object... pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
get in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do get("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.
public Response post(String path,
Object... pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
post in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do post("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.
public Response put(String path,
Object... pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
put in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do put("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.
public Response delete(String path,
Object... pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
delete in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do delete("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.
public Response head(String path,
Object... pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
head in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do head("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.
public Response get(String path,
Map pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
get in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters.
public Response post(String path,
Map pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
post in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters.
public Response put(String path,
Map pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
put in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters.
public Response delete(String path,
Map pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
delete in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters.
public Response head(String path,
Map pathParams)
RequestSenderpath. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.
head in interface RequestSenderpath - The path to send the request to.pathParams - The path parameters.
public RequestSpecification getRequestSpecification()
public ResponseSpecification getResponseSpecification()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||