Class DelegateStreamedHttpResponse
java.lang.Object
org.playframework.netty.http.DelegateHttpMessage
org.playframework.netty.http.DelegateHttpResponse
org.playframework.netty.http.DelegateStreamedHttpResponse
- All Implemented Interfaces:
io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.http.HttpResponse, StreamedHttpMessage, StreamedHttpResponse, org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent>
final class DelegateStreamedHttpResponse
extends DelegateHttpResponse
implements StreamedHttpResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> Fields inherited from class DelegateHttpResponse
responseFields inherited from class DelegateHttpMessage
message -
Constructor Summary
ConstructorsConstructorDescriptionDelegateStreamedHttpResponse(io.netty.handler.codec.http.HttpResponse response, org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream) -
Method Summary
Modifier and TypeMethodDescriptionvoidsubscribe(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber) Methods inherited from class DelegateHttpResponse
getStatus, setProtocolVersion, setStatus, statusMethods inherited from class DelegateHttpMessage
decoderResult, getDecoderResult, getProtocolVersion, headers, protocolVersion, setDecoderResult, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersionMethods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpResponse
getStatus, setProtocolVersion, setStatus, status
-
Field Details
-
stream
private final org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream
-
-
Constructor Details
-
DelegateStreamedHttpResponse
public DelegateStreamedHttpResponse(io.netty.handler.codec.http.HttpResponse response, org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent> stream)
-
-
Method Details
-
subscribe
public void subscribe(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber) - Specified by:
subscribein interfaceorg.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent>
-