Module io.helidon.webclient.jsonrpc
Package io.helidon.webclient.jsonrpc
Interface JsonRpcClientBatchResponse
- All Superinterfaces:
AutoCloseable,io.helidon.webclient.api.HttpClientResponse,Iterable<JsonRpcClientResponse>
public interface JsonRpcClientBatchResponse
extends Iterable<JsonRpcClientResponse>, io.helidon.webclient.api.HttpClientResponse
A representation for a JSON-RPC batch response.
-
Method Summary
Methods inherited from interface io.helidon.webclient.api.HttpClientResponse
as, close, entity, inputStream, sourceMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
size
int size()Number of responses in this batch.- Returns:
- the size
-
get
Get a single response by index.- Parameters:
index- the index- Returns:
- the response
- Throws:
IndexOutOfBoundsException- if index is out of bounds
-
status
io.helidon.http.Status status() -
headers
io.helidon.http.ClientResponseHeaders headers() -
trailers
io.helidon.http.ClientResponseTrailers trailers() -
lastEndpointUri
io.helidon.webclient.api.ClientUri lastEndpointUri()
-