@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,
Publisher<io.netty.handler.codec.http.HttpContent> stream) |
DefaultStreamedHttpResponse(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status,
io.netty.handler.codec.http.HttpHeaders headers,
Publisher<io.netty.handler.codec.http.HttpContent> stream) |
DefaultStreamedHttpResponse(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status,
Publisher<io.netty.handler.codec.http.HttpContent> stream) |
Modifier and Type | Method and Description |
---|---|
void |
subscribe(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, 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, Publisher<io.netty.handler.codec.http.HttpContent> stream)
version
- The Http Versionstatus
- The Http response statusvalidateHeaders
- Whether to validate the headersstream
- The publisherpublic DefaultStreamedHttpResponse(io.netty.handler.codec.http.HttpVersion version, io.netty.handler.codec.http.HttpResponseStatus status, io.netty.handler.codec.http.HttpHeaders headers, Publisher<io.netty.handler.codec.http.HttpContent> stream)
version
- The Http Versionstatus
- The Http response statusheaders
- The Http headersstream
- The publisherpublic void subscribe(Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber)