public interface TestHttpClient
Modifier and Type | Method and Description |
---|---|
ReceivedResponse |
delete() |
ReceivedResponse |
delete(String path) |
String |
deleteText() |
String |
deleteText(String path) |
ReceivedResponse |
get() |
ReceivedResponse |
get(String path) |
ApplicationUnderTest |
getApplicationUnderTest() |
ReceivedResponse |
getResponse() |
String |
getText() |
String |
getText(String path) |
ReceivedResponse |
head() |
ReceivedResponse |
head(String path) |
ReceivedResponse |
options() |
ReceivedResponse |
options(String path) |
void |
params(Action<? super ImmutableMultimap.Builder<String,Object>> params) |
ReceivedResponse |
patch() |
ReceivedResponse |
patch(String path) |
String |
patchText() |
String |
patchText(String path) |
ReceivedResponse |
post() |
ReceivedResponse |
post(String path) |
String |
postText() |
String |
postText(String path) |
ReceivedResponse |
put() |
ReceivedResponse |
put(String path) |
String |
putText() |
String |
putText(String path) |
void |
requestSpec(Action<? super RequestSpec> requestAction) |
void |
resetRequest() |
ApplicationUnderTest getApplicationUnderTest()
void requestSpec(Action<? super RequestSpec> requestAction)
void params(Action<? super ImmutableMultimap.Builder<String,Object>> params)
void resetRequest()
ReceivedResponse getResponse()
ReceivedResponse head()
ReceivedResponse head(String path)
ReceivedResponse options()
ReceivedResponse options(String path)
ReceivedResponse get()
ReceivedResponse get(String path)
String getText()
ReceivedResponse post()
ReceivedResponse post(String path)
String postText()
ReceivedResponse put()
ReceivedResponse put(String path)
String putText()
ReceivedResponse patch()
ReceivedResponse patch(String path)
String patchText()
ReceivedResponse delete()
ReceivedResponse delete(String path)
String deleteText()