final class io.vertx.core.http.impl.NettyFileUpload extends java.lang.Object implements io.netty.handler.codec.http.multipart.FileUpload, io.vertx.core.streams.ReadStream
{
private final java.lang.String name;
private java.lang.String contentType;
private java.lang.String filename;
private java.lang.String contentTransferEncoding;
private java.nio.charset.Charset charset;
private boolean completed;
private long maxSize;
private final io.vertx.core.http.HttpServerRequest request;
private final io.vertx.core.streams.impl.InboundBuffer pending;
private io.vertx.core.Handler endHandler;
private io.vertx.core.Handler exceptionHandler;
private io.vertx.core.Handler dataHandler;
private final long size;
void <init>(io.vertx.core.Context, io.vertx.core.http.HttpServerRequest, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.nio.charset.Charset, long)
{
io.vertx.core.http.HttpServerRequest v;
io.vertx.core.streams.impl.InboundBuffer v, v, v;
long v;
io.vertx.core.Context v;
io.vertx.core.http.impl.NettyFileUpload v;
java.nio.charset.Charset v;
java.lang.String v, v, v, v;
io.vertx.core.Handler v, v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.vertx.core.Context;
v := @parameter: io.vertx.core.http.HttpServerRequest;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.nio.charset.Charset;
v := @parameter: long;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<io.vertx.core.http.impl.NettyFileUpload: long maxSize> = -1L;
v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String name> = v;
v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String filename> = v;
v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String contentType> = v;
v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String contentTransferEncoding> = v;
v.<io.vertx.core.http.impl.NettyFileUpload: java.nio.charset.Charset charset> = v;
v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.http.HttpServerRequest request> = v;
v.<io.vertx.core.http.impl.NettyFileUpload: long size> = v;
v = new io.vertx.core.streams.impl.InboundBuffer;
specialinvoke v.<io.vertx.core.streams.impl.InboundBuffer: void <init>(io.vertx.core.Context)>(v);
v = staticinvoke <io.vertx.core.http.impl.NettyFileUpload$lambda_new_0__983: io.vertx.core.Handler bootstrap$(io.vertx.core.http.HttpServerRequest)>(v);
v = virtualinvoke v.<io.vertx.core.streams.impl.InboundBuffer: io.vertx.core.streams.impl.InboundBuffer drainHandler(io.vertx.core.Handler)>(v);
v = staticinvoke <io.vertx.core.http.impl.NettyFileUpload$lambda_new_1__984: io.vertx.core.Handler bootstrap$(io.vertx.core.http.impl.NettyFileUpload)>(v);
v = virtualinvoke v.<io.vertx.core.streams.impl.InboundBuffer: io.vertx.core.streams.impl.InboundBuffer handler(io.vertx.core.Handler)>(v);
v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.streams.impl.InboundBuffer pending> = v;
return;
}
public synchronized io.vertx.core.http.impl.NettyFileUpload exceptionHandler(io.vertx.core.Handler)
{
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.Handler v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.vertx.core.Handler;
v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.Handler exceptionHandler> = v;
return v;
}
private io.vertx.core.Handler handler()
{
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.Handler v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.Handler dataHandler>;
return v;
}
public synchronized io.vertx.core.http.impl.NettyFileUpload handler(io.vertx.core.Handler)
{
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.Handler v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.vertx.core.Handler;
v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.Handler dataHandler> = v;
return v;
}
public io.vertx.core.http.impl.NettyFileUpload pause()
{
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.streams.impl.InboundBuffer v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.streams.impl.InboundBuffer pending>;
virtualinvoke v.<io.vertx.core.streams.impl.InboundBuffer: io.vertx.core.streams.impl.InboundBuffer pause()>();
return v;
}
public io.vertx.core.http.impl.NettyFileUpload resume()
{
io.vertx.core.http.impl.NettyFileUpload v, v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = virtualinvoke v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.http.impl.NettyFileUpload fetch(long)>(9223372036854775807L);
return v;
}
public io.vertx.core.http.impl.NettyFileUpload fetch(long)
{
io.vertx.core.http.impl.NettyFileUpload v;
long v;
io.vertx.core.streams.impl.InboundBuffer v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: long;
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.streams.impl.InboundBuffer pending>;
virtualinvoke v.<io.vertx.core.streams.impl.InboundBuffer: boolean fetch(long)>(v);
return v;
}
private synchronized io.vertx.core.Handler endHandler()
{
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.Handler v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.Handler endHandler>;
return v;
}
public synchronized io.vertx.core.http.impl.NettyFileUpload endHandler(io.vertx.core.Handler)
{
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.Handler v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.vertx.core.Handler;
v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.Handler endHandler> = v;
return v;
}
private void receiveData(io.vertx.core.buffer.Buffer)
{
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.http.HttpServerRequest v;
io.vertx.core.streams.impl.InboundBuffer v;
io.vertx.core.buffer.Buffer v;
int v;
boolean v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.vertx.core.buffer.Buffer;
v = interfaceinvoke v.<io.vertx.core.buffer.Buffer: int length()>();
if v == 0 goto label;
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.streams.impl.InboundBuffer pending>;
v = virtualinvoke v.<io.vertx.core.streams.impl.InboundBuffer: boolean write(java.lang.Object)>(v);
if v != 0 goto label;
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.http.HttpServerRequest request>;
interfaceinvoke v.<io.vertx.core.http.HttpServerRequest: io.vertx.core.http.HttpServerRequest pause()>();
label:
return;
}
private void end()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.Object v;
io.vertx.core.streams.impl.InboundBuffer v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.streams.impl.InboundBuffer pending>;
v = <io.vertx.core.streams.impl.InboundBuffer: java.lang.Object END_SENTINEL>;
virtualinvoke v.<io.vertx.core.streams.impl.InboundBuffer: boolean write(java.lang.Object)>(v);
return;
}
public void handleException(java.lang.Throwable)
{
java.lang.Throwable v, v;
io.vertx.core.http.impl.NettyFileUpload v;
io.vertx.core.Handler v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.lang.Throwable;
entermonitor v;
label:
v = v.<io.vertx.core.http.impl.NettyFileUpload: io.vertx.core.Handler exceptionHandler>;
exitmonitor v;
label:
goto label;
label:
v := @caughtexception;
exitmonitor v;
throw v;
label:
if v == null goto label;
interfaceinvoke v.<io.vertx.core.Handler: void handle(java.lang.Object)>(v);
label:
return;
catch java.lang.Throwable from label to label with label;
}
public void setContent(io.netty.buffer.ByteBuf) throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
io.netty.buffer.ByteBuf v;
io.vertx.core.buffer.Buffer v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.netty.buffer.ByteBuf;
v.<io.vertx.core.http.impl.NettyFileUpload: boolean completed> = 1;
v = staticinvoke <io.vertx.core.buffer.Buffer: io.vertx.core.buffer.Buffer buffer(io.netty.buffer.ByteBuf)>(v);
specialinvoke v.<io.vertx.core.http.impl.NettyFileUpload: void receiveData(io.vertx.core.buffer.Buffer)>(v);
specialinvoke v.<io.vertx.core.http.impl.NettyFileUpload: void end()>();
return;
}
public void addContent(io.netty.buffer.ByteBuf, boolean) throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
io.netty.buffer.ByteBuf v;
io.vertx.core.buffer.Buffer v;
boolean v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.netty.buffer.ByteBuf;
v := @parameter: boolean;
v = staticinvoke <io.vertx.core.buffer.Buffer: io.vertx.core.buffer.Buffer buffer(io.netty.buffer.ByteBuf)>(v);
specialinvoke v.<io.vertx.core.http.impl.NettyFileUpload: void receiveData(io.vertx.core.buffer.Buffer)>(v);
if v == 0 goto label;
v.<io.vertx.core.http.impl.NettyFileUpload: boolean completed> = 1;
specialinvoke v.<io.vertx.core.http.impl.NettyFileUpload: void end()>();
label:
return;
}
public void setContent(java.io.File) throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
java.io.File v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.io.File;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public void setContent(java.io.InputStream) throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
java.io.InputStream v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.io.InputStream;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public boolean isCompleted()
{
io.vertx.core.http.impl.NettyFileUpload v;
boolean v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: boolean completed>;
return v;
}
public long length()
{
io.vertx.core.http.impl.NettyFileUpload v;
long v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: long size>;
return v;
}
public void delete()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public long definedLength()
{
io.vertx.core.http.impl.NettyFileUpload v;
long v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: long size>;
return v;
}
public void checkSize(long) throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
byte v, v;
java.io.IOException v;
long v, v, v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: long;
v = v.<io.vertx.core.http.impl.NettyFileUpload: long maxSize>;
v = v cmp 0L;
if v < 0 goto label;
v = v.<io.vertx.core.http.impl.NettyFileUpload: long maxSize>;
v = v cmp v;
if v <= 0 goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Size exceed allowed maximum capacity");
throw v;
label:
return;
}
public long getMaxSize()
{
io.vertx.core.http.impl.NettyFileUpload v;
long v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: long maxSize>;
return v;
}
public void setMaxSize(long)
{
io.vertx.core.http.impl.NettyFileUpload v;
long v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: long;
v.<io.vertx.core.http.impl.NettyFileUpload: long maxSize> = v;
return;
}
public byte[] get() throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public io.netty.buffer.ByteBuf getChunk(int) throws java.io.IOException
{
int v;
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: int;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public java.lang.String getString() throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public java.lang.String getString(java.nio.charset.Charset) throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
java.nio.charset.Charset v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.nio.charset.Charset;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public void setCharset(java.nio.charset.Charset)
{
io.vertx.core.http.impl.NettyFileUpload v;
java.nio.charset.Charset v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.nio.charset.Charset;
v.<io.vertx.core.http.impl.NettyFileUpload: java.nio.charset.Charset charset> = v;
return;
}
public java.nio.charset.Charset getCharset()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.nio.charset.Charset v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: java.nio.charset.Charset charset>;
return v;
}
public boolean renameTo(java.io.File) throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
java.io.File v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.io.File;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public boolean isInMemory()
{
io.vertx.core.http.impl.NettyFileUpload v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
return 0;
}
public java.io.File getFile() throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public java.lang.String getName()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.String v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String name>;
return v;
}
public io.netty.handler.codec.http.multipart.InterfaceHttpData$HttpDataType getHttpDataType()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public int compareTo(io.netty.handler.codec.http.multipart.InterfaceHttpData)
{
io.vertx.core.http.impl.NettyFileUpload v;
io.netty.handler.codec.http.multipart.InterfaceHttpData v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.netty.handler.codec.http.multipart.InterfaceHttpData;
return 0;
}
public java.lang.String getFilename()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.String v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String filename>;
return v;
}
public void setFilename(java.lang.String)
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.String v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.lang.String;
v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String filename> = v;
return;
}
public void setContentType(java.lang.String)
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.String v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.lang.String;
v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String contentType> = v;
return;
}
public java.lang.String getContentType()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.String v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String contentType>;
return v;
}
public void setContentTransferEncoding(java.lang.String)
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.String v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.lang.String;
v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String contentTransferEncoding> = v;
return;
}
public java.lang.String getContentTransferEncoding()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.String v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = v.<io.vertx.core.http.impl.NettyFileUpload: java.lang.String contentTransferEncoding>;
return v;
}
public io.netty.buffer.ByteBuf getByteBuf() throws java.io.IOException
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public io.netty.handler.codec.http.multipart.FileUpload copy()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public io.netty.handler.codec.http.multipart.FileUpload duplicate()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public io.netty.handler.codec.http.multipart.FileUpload retainedDuplicate()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public io.netty.handler.codec.http.multipart.FileUpload replace(io.netty.buffer.ByteBuf)
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
io.netty.buffer.ByteBuf v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: io.netty.buffer.ByteBuf;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public io.netty.handler.codec.http.multipart.FileUpload retain()
{
io.vertx.core.http.impl.NettyFileUpload v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
return v;
}
public io.netty.handler.codec.http.multipart.FileUpload retain(int)
{
int v;
io.vertx.core.http.impl.NettyFileUpload v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: int;
return v;
}
public io.netty.handler.codec.http.multipart.FileUpload touch(java.lang.Object)
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.Object v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: java.lang.Object;
return v;
}
public io.netty.handler.codec.http.multipart.FileUpload touch()
{
io.vertx.core.http.impl.NettyFileUpload v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
return v;
}
public io.netty.buffer.ByteBuf content()
{
io.vertx.core.http.impl.NettyFileUpload v;
java.lang.UnsupportedOperationException v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>()>();
throw v;
}
public int refCnt()
{
io.vertx.core.http.impl.NettyFileUpload v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
return 1;
}
public boolean release()
{
io.vertx.core.http.impl.NettyFileUpload v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
return 0;
}
public boolean release(int)
{
int v;
io.vertx.core.http.impl.NettyFileUpload v;
v := @this: io.vertx.core.http.impl.NettyFileUpload;
v := @parameter: int;
return 0;
}
}