Package com.linecorp.armeria.common
Interface SplitHttpResponse
- All Superinterfaces:
SplitHttpMessage
An
HttpResponse which splits a stream of HttpObjects into HTTP headers and payloads.
headers() will be completed before publishing the first HttpData.
Note that
informational
headers are not collected by this HttpResponse. If you want to get informational headers,
use StreamMessage.subscribe(Subscriber) instead.
-
Method Summary
Modifier and TypeMethodDescriptionheaders()Returns aCompletableFuturecompleted with a non-informationalResponseHeaders.Methods inherited from interface com.linecorp.armeria.common.SplitHttpMessage
body, trailers
-
Method Details
-
headers
CompletableFuture<ResponseHeaders> headers()Returns aCompletableFuturecompleted with a non-informationalResponseHeaders.
-