| Package | Description |
|---|---|
| com.github.restdriver.clientdriver | |
| com.github.restdriver.clientdriver.capture |
| Modifier and Type | Method and Description |
|---|---|
BodyCapture<?> |
ClientDriverRequest.getBodyCapture() |
| Modifier and Type | Method and Description |
|---|---|
ClientDriverRequest |
ClientDriverRequest.capturingBodyIn(BodyCapture<?> bodyCapture)
Setter for adding a
BodyCapture to the expectation for later assertions/debugging. |
static void |
RestClientDriver.waitFor(BodyCapture<?> bodyCapture,
long time,
TimeUnit timeUnit)
Waits for specified time for populated
BodyCapture object. |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteBodyCapture
Implementation of BodyCapture which just keeps the body as a byte array.
|
class |
JsonBodyCapture
Implementation of BodyCapture which marshalls the body into a
JsonNode. |
class |
LatchBodyCapture<T> |
class |
StringBodyCapture
Implementation of BodyCapture which gives the body as a String.
|
| Constructor and Description |
|---|
LatchBodyCapture(BodyCapture<T> capture) |
LatchBodyCapture(BodyCapture<T> capture,
int times) |
Copyright © 2016. All Rights Reserved.