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, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic 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>Exceptionpublic static FileUploads getMultipartFileUploads(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.