public final class StreamResponse extends SimpleResponse<reactor.core.publisher.Flux<io.netty.buffer.ByteBuf>> implements Closeable
| Constructor and Description |
|---|
StreamResponse(HttpRequest request,
int statusCode,
HttpHeaders headers,
reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> value)
Creates StreamResponse.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Disposes the connection associated with this StreamResponse.
|
reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> |
value() |
headers, request, statusCodepublic StreamResponse(HttpRequest request, int statusCode, HttpHeaders headers, reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> value)
request - the request which resulted in this responsestatusCode - the status code of the HTTP responseheaders - the headers of the HTTP responsevalue - the streaming valuepublic reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> value()
value in interface Response<reactor.core.publisher.Flux<io.netty.buffer.ByteBuf>>value in class SimpleResponse<reactor.core.publisher.Flux<io.netty.buffer.ByteBuf>>public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2019 Microsoft Corporation. All rights reserved.