Package io.micronaut.http.server.netty
Class DelegateStreamedHttpResponse
java.lang.Object
io.micronaut.http.server.netty.DelegateStreamedHttpResponse
- All Implemented Interfaces:
StreamedHttpMessage
,StreamedHttpResponse
,io.netty.handler.codec.DecoderResultProvider
,io.netty.handler.codec.http.HttpMessage
,io.netty.handler.codec.http.HttpObject
,io.netty.handler.codec.http.HttpResponse
,Publisher<io.netty.handler.codec.http.HttpContent>
@Internal
public final class DelegateStreamedHttpResponse
extends Object
implements StreamedHttpResponse
Delegate for Streamed HTTP Response.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDelegateStreamedHttpResponse
(io.netty.handler.codec.http.HttpResponse response, Publisher<io.netty.handler.codec.http.HttpContent> stream) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.handler.codec.DecoderResult
io.netty.handler.codec.DecoderResult
Deprecated.io.netty.handler.codec.http.HttpVersion
Deprecated.io.netty.handler.codec.http.HttpResponseStatus
Deprecated.io.netty.handler.codec.http.HttpHeaders
headers()
io.netty.handler.codec.http.HttpVersion
void
setDecoderResult
(io.netty.handler.codec.DecoderResult result) io.netty.handler.codec.http.HttpResponse
setProtocolVersion
(io.netty.handler.codec.http.HttpVersion version) io.netty.handler.codec.http.HttpResponse
setStatus
(io.netty.handler.codec.http.HttpResponseStatus status) io.netty.handler.codec.http.HttpResponseStatus
status()
void
subscribe
(Subscriber<? super io.netty.handler.codec.http.HttpContent> subscriber) 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
-
response
protected final io.netty.handler.codec.http.HttpResponse response -
message
protected final io.netty.handler.codec.http.HttpMessage message
-
-
Constructor Details
-
Method Details
-
subscribe
-
setStatus
public io.netty.handler.codec.http.HttpResponse setStatus(io.netty.handler.codec.http.HttpResponseStatus status) - Specified by:
setStatus
in interfaceio.netty.handler.codec.http.HttpResponse
-
getStatus
Deprecated.- Specified by:
getStatus
in interfaceio.netty.handler.codec.http.HttpResponse
-
status
public io.netty.handler.codec.http.HttpResponseStatus status()- Specified by:
status
in interfaceio.netty.handler.codec.http.HttpResponse
-
setProtocolVersion
public io.netty.handler.codec.http.HttpResponse setProtocolVersion(io.netty.handler.codec.http.HttpVersion version) - Specified by:
setProtocolVersion
in interfaceio.netty.handler.codec.http.HttpMessage
- Specified by:
setProtocolVersion
in interfaceio.netty.handler.codec.http.HttpResponse
-
getProtocolVersion
Deprecated.- Specified by:
getProtocolVersion
in interfaceio.netty.handler.codec.http.HttpMessage
-
protocolVersion
public io.netty.handler.codec.http.HttpVersion protocolVersion()- Specified by:
protocolVersion
in interfaceio.netty.handler.codec.http.HttpMessage
-
headers
public io.netty.handler.codec.http.HttpHeaders headers()- Specified by:
headers
in interfaceio.netty.handler.codec.http.HttpMessage
-
getDecoderResult
Deprecated.- Specified by:
getDecoderResult
in interfaceio.netty.handler.codec.http.HttpObject
-
decoderResult
public io.netty.handler.codec.DecoderResult decoderResult()- Specified by:
decoderResult
in interfaceio.netty.handler.codec.DecoderResultProvider
-
setDecoderResult
public void setDecoderResult(io.netty.handler.codec.DecoderResult result) - Specified by:
setDecoderResult
in interfaceio.netty.handler.codec.DecoderResultProvider
-
toString
-