| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<PushPromise> |
MockResponse.getPushPromises() |
Returns the streams the server will push with this response.
|
| Modifier and Type | Method | Description |
|---|---|---|
MockResponse |
MockResponse.withPush(PushPromise promise) |
When
protocols include Protocol.HTTP_2, this attaches a pushed stream to this response. |
Copyright © 2020. All rights reserved.