class io.dropwizard.jetty.ZipExceptionHandlingInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.dropwizard.jetty.ZipExceptionHandlingInputStream
super_class: java.io.InputStream
{
private final java.io.InputStream delegate;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String format;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
2: aload 0
aload 2
putfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.format:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
0 4 1 in Ljava/io/InputStream;
0 4 2 format Ljava/lang/String;
MethodParameters:
Name Flags
in
format
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 3: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.format:Ljava/lang/String;
aload 4
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
0 4 1 b [B
0 4 2 off I
0 4 3 len I
3 4 4 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.format:Ljava/lang/String;
aload 1
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
1: lreturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 3: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.format:Ljava/lang/String;
aload 3
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
0 4 1 n J
3 4 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.format:Ljava/lang/String;
aload 1
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.format:Ljava/lang/String;
aload 1
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
public synchronized void mark(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
iload 1
invokevirtual java.io.InputStream.mark:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
0 2 1 readlimit I
MethodParameters:
Name Flags
readlimit
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: aload 0
getfield io.dropwizard.jetty.ZipExceptionHandlingInputStream.format:Ljava/lang/String;
aload 1
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/jetty/ZipExceptionHandlingInputStream;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
static org.eclipse.jetty.http.BadMessageException handleException(java.lang.String, java.io.IOException);
descriptor: (Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.zip.ZipException
ifeq 2
1: aload 0
aload 1
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.buildBadDataException:(Ljava/lang/String;Ljava/lang/Throwable;)Lorg/eclipse/jetty/http/BadMessageException;
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.io.EOFException
ifeq 4
3: aload 0
aload 1
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.buildPrematureEofException:(Ljava/lang/String;Ljava/lang/Throwable;)Lorg/eclipse/jetty/http/BadMessageException;
areturn
4: StackMap locals:
StackMap stack:
aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 format Ljava/lang/String;
0 5 1 e Ljava/io/IOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
format
e
private static org.eclipse.jetty.http.BadMessageException buildBadDataException(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)Lorg/eclipse/jetty/http/BadMessageException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.jetty.http.BadMessageException
dup
sipush 400
new java.lang.StringBuilder
dup
ldc "Invalid "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " data in request"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.eclipse.jetty.http.BadMessageException.<init>:(ILjava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 format Ljava/lang/String;
0 1 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
format
cause
private static org.eclipse.jetty.http.BadMessageException buildPrematureEofException(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)Lorg/eclipse/jetty/http/BadMessageException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.jetty.http.BadMessageException
dup
sipush 400
new java.lang.StringBuilder
dup
ldc "Premature end of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " data"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.eclipse.jetty.http.BadMessageException.<init>:(ILjava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 format Ljava/lang/String;
0 1 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
format
cause
}
SourceFile: "ZipExceptionHandlingInputStream.java"