Package | Description |
---|---|
bad.robot.http | |
bad.robot.http.matchers |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpDelete |
interface |
HttpGet |
interface |
HttpPost
A HTTP message consists of the following; a request line, such as GET /logo.gif HTTP/1.1 or Status line, such as HTTP/1.1 200 OK,
headers, an empty line and the optional HTTP message body data.
|
interface |
HttpPut |
interface |
HttpRequest |
interface |
HttpResponse |
Modifier and Type | Class and Description |
---|---|
class |
FormUrlEncodedMessage |
class |
HttpDeleteMessage |
class |
HttpGetMessage |
class |
StringHttpResponse |
class |
UnencodedStringMessage |
Modifier and Type | Method and Description |
---|---|
static <T extends HttpMessage> |
Matchers.binaryContent(byte[] content) |
static <T extends HttpMessage> |
Matchers.binaryContent(org.hamcrest.Matcher<byte[]> matcher) |
static <T extends HttpMessage> |
Matchers.binaryContent(org.hamcrest.Matcher<byte[]> matcher,
String characterSet) |
static <T extends HttpMessage> |
Matchers.content(org.hamcrest.Matcher<String> mather) |
static <T extends HttpMessage> |
Matchers.content(String content) |
static <T extends HttpMessage> |
Matchers.has(Header header) |
static <T extends HttpMessage> |
Matchers.headerWithValue(String name,
org.hamcrest.Matcher<String> value) |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<HttpPost> |
Matchers.post(org.hamcrest.Matcher<? extends HttpMessage> matcher) |
static org.hamcrest.Matcher<HttpPut> |
Matchers.put(org.hamcrest.Matcher<? extends HttpMessage> matcher) |
Copyright © 2013. All rights reserved.