@Internal public class DefaultStreamedHttpResponse extends io.netty.handler.codec.http.DefaultHttpResponse implements StreamedHttpResponse
Constructor and Description |
---|
DefaultStreamedHttpResponse(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status,
boolean validateHeaders,
org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream) |
DefaultStreamedHttpResponse(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status,
org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream) |
Modifier and Type | Method and Description |
---|---|
void |
subscribe(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber) |
equals, getStatus, hashCode, setProtocolVersion, setStatus, status, toString
getProtocolVersion, headers, protocolVersion
decoderResult, getDecoderResult, setDecoderResult
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getStatus, setProtocolVersion, setStatus, status
public DefaultStreamedHttpResponse(io.netty.handler.codec.http.HttpVersion version, io.netty.handler.codec.http.HttpResponseStatus status, org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream)
version
- The Http Versionstatus
- The Http response statusstream
- The publisherpublic DefaultStreamedHttpResponse(io.netty.handler.codec.http.HttpVersion version, io.netty.handler.codec.http.HttpResponseStatus status, boolean validateHeaders, org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream)
version
- The Http Versionstatus
- The Http response statusvalidateHeaders
- Whether to validate the headersstream
- The publisher