public class FlinkHttpObjectAggregator
extends org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObjectAggregator
HttpObjectDecoder but
returns HTTP 413 to the client if the payload exceeds MessageAggregator.maxContentLength.| Constructor and Description |
|---|
FlinkHttpObjectAggregator(int maxContentLength,
Map<String,String> responseHeaders) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObject msg,
List<Object> out) |
aggregate, beginAggregation, closeAfterContinueResponse, finishAggregation, handleOversizedMessage, ignoreContentAfterContinueResponse, isAggregated, isContentLengthInvalid, isContentMessage, isLastContentMessage, isStartMessage, newContinueResponseacceptInboundMessage, channelInactive, channelReadComplete, ctx, handlerAdded, handlerRemoved, isHandlingOversizedMessage, maxContentLength, maxCumulationBufferComponents, setMaxCumulationBufferComponentschannelReadchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredprotected void decode(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObject msg,
List<Object> out)
throws Exception
decode in class org.apache.flink.shaded.netty4.io.netty.handler.codec.MessageAggregator<org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObject,org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpMessage,org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpContent,org.apache.flink.shaded.netty4.io.netty.handler.codec.http.FullHttpMessage>ExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.