Package | Description |
---|---|
com.jcabi.http.request |
Requests.
|
Modifier and Type | Method and Description |
---|---|
FakeRequest |
FakeRequest.withBody(byte[] body)
Make a similar request, with the provided body.
|
FakeRequest |
FakeRequest.withBody(String text)
Make a similar request, with the provided body.
|
FakeRequest |
FakeRequest.withHeader(String name,
String value)
Make a similar request, with the provided HTTP header.
|
FakeRequest |
FakeRequest.withReason(String reason)
Make a similar request, with the provided reason line.
|
FakeRequest |
FakeRequest.withStatus(int status)
Make a similar request, with the provided status code.
|
Copyright © 2012–2014 jcabi.com. All rights reserved.