@Internal public class DefaultStreamedHttpRequest extends io.netty.handler.codec.http.DefaultHttpRequest implements StreamedHttpRequest
| Constructor and Description | 
|---|
| DefaultStreamedHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
                          io.netty.handler.codec.http.HttpMethod method,
                          java.lang.String uri,
                          boolean validateHeaders,
                          org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream) | 
| DefaultStreamedHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
                          io.netty.handler.codec.http.HttpMethod method,
                          java.lang.String uri,
                          org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closeIfNoSubscriber()Releases the stream if there is no subscriber. | 
| boolean | isConsumed()Has the stream been consumed. | 
| void | subscribe(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber) | 
equals, getMethod, getUri, hashCode, method, setMethod, setProtocolVersion, setUri, toString, urigetProtocolVersion, headers, protocolVersiondecoderResult, getDecoderResult, setDecoderResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetMethod, getUri, method, setMethod, setProtocolVersion, setUri, uripublic DefaultStreamedHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
                                  io.netty.handler.codec.http.HttpMethod method,
                                  java.lang.String uri,
                                  org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream)
httpVersion - The Http Versionmethod - The Http Methoduri - The URIstream - The publisherpublic DefaultStreamedHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
                                  io.netty.handler.codec.http.HttpMethod method,
                                  java.lang.String uri,
                                  boolean validateHeaders,
                                  org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream)
httpVersion - The Http Versionmethod - The Http Methoduri - The URIvalidateHeaders - Whether to validate the headersstream - The publisherpublic boolean isConsumed()
StreamedHttpRequestisConsumed in interface StreamedHttpRequestpublic void subscribe(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber)
subscribe in interface org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent>public void closeIfNoSubscriber()
StreamedHttpRequestcloseIfNoSubscriber in interface StreamedHttpRequest