| Package | Description |
|---|---|
| io.fabric8.mockwebserver.dsl | |
| io.fabric8.mockwebserver.internal | |
| io.fabric8.mockwebserver.utils |
| Modifier and Type | Method and Description |
|---|---|
T |
Replyable.andReply(int statusCode,
BodyProvider<Object> contentSupplier) |
T |
Replyable.andReplyChunked(int statusCode,
BodyProvider<List<Object>> content) |
| Modifier and Type | Method and Description |
|---|---|
TimesOnceableOrHttpHeaderable<Void> |
MockServerExpectationImpl.andReply(int statusCode,
BodyProvider<Object> content) |
TimesOnceableOrHttpHeaderable<Void> |
MockServerExpectationImpl.andReplyChunked(int statusCode,
BodyProvider<List<Object>> contents) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ResponseProvider<T>
A class that allows returning a response given a certain request.
|
| Modifier and Type | Method and Description |
|---|---|
static <R> ResponseProvider<R> |
ResponseProviders.of(int statusCode,
BodyProvider<R> bodyProvider) |
Copyright © 2015–2024 Red Hat. All rights reserved.