Package com.linkedin.alpini.netty4.misc
Interface ChunkedHttpResponse
- All Superinterfaces:
io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,io.netty.handler.codec.http.FullHttpMessage,io.netty.handler.codec.http.FullHttpResponse,io.netty.handler.codec.http.HttpContent,io.netty.handler.codec.http.HttpMessage,io.netty.handler.codec.http.HttpObject,io.netty.handler.codec.http.HttpResponse,io.netty.handler.codec.http.LastHttpContent,io.netty.util.ReferenceCounted
- All Known Subinterfaces:
MultipartHttpResponse
public interface ChunkedHttpResponse
extends io.netty.handler.codec.http.FullHttpResponse
-
Field Summary
Fields inherited from interface io.netty.handler.codec.http.LastHttpContent
EMPTY_LAST_CONTENT -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteChunkedContent(io.netty.channel.ChannelHandlerContext ctx, io.netty.util.concurrent.Promise<io.netty.handler.codec.http.LastHttpContent> writePromise) Methods inherited from interface io.netty.buffer.ByteBufHolder
contentMethods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface io.netty.handler.codec.http.FullHttpResponse
copy, duplicate, replace, retain, retain, retainedDuplicate, setProtocolVersion, setStatus, touch, touchMethods 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, statusMethods inherited from interface io.netty.handler.codec.http.LastHttpContent
trailingHeadersMethods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
Method Details
-
writeChunkedContent
void writeChunkedContent(io.netty.channel.ChannelHandlerContext ctx, io.netty.util.concurrent.Promise<io.netty.handler.codec.http.LastHttpContent> writePromise) throws IOException - Throws:
IOException
-