Package org.playframework.netty.http
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 org.playframework.netty.http.DelegateHttpResponse
response
Fields inherited from class org.playframework.netty.http.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 TypeMethodDescriptionvoid
subscribe
(org.reactivestreams.Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber) Methods inherited from class org.playframework.netty.http.DelegateHttpResponse
getStatus, setProtocolVersion, setStatus, status
Methods inherited from class org.playframework.netty.http.DelegateHttpMessage
decoderResult, getDecoderResult, getProtocolVersion, headers, protocolVersion, setDecoderResult, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
Methods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion
Methods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResult
Methods 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:
subscribe
in interfaceorg.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent>
-