public class FileUploadHandler
extends org.apache.flink.shaded.netty4.io.netty.channel.SimpleChannelInboundHandler<org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObject>
ChannelInboundHandler
in the ChannelPipeline
.Modifier and Type | Field and Description |
---|---|
static String |
HTTP_ATTRIBUTE_REQUEST |
Constructor and Description |
---|
FileUploadHandler(Path uploadDir) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObject msg) |
static FileUploads |
getMultipartFileUploads(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public static final String HTTP_ATTRIBUTE_REQUEST
public FileUploadHandler(Path uploadDir)
protected void channelRead0(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObject msg) throws Exception
channelRead0
in class org.apache.flink.shaded.netty4.io.netty.channel.SimpleChannelInboundHandler<org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpObject>
Exception
public static FileUploads getMultipartFileUploads(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.