public class org.glassfish.jersey.message.internal.EntityInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.message.internal.EntityInputStream
super_class: java.io.InputStream
{
private java.io.InputStream input;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static org.glassfish.jersey.message.internal.EntityInputStream create(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lorg/glassfish/jersey/message/internal/EntityInputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.glassfish.jersey.message.internal.EntityInputStream
ifeq 2
1: aload 0
checkcast org.glassfish.jersey.message.internal.EntityInputStream
areturn
2: StackMap locals:
StackMap stack:
new org.glassfish.jersey.message.internal.EntityInputStream
dup
aload 0
invokespecial org.glassfish.jersey.message.internal.EntityInputStream.<init>:(Ljava/io/InputStream;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 inputStream Ljava/io/InputStream;
MethodParameters:
Name Flags
inputStream
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_0
putfield org.glassfish.jersey.message.internal.EntityInputStream.closed:Z
2: aload 0
aload 1
putfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
0 4 1 input Ljava/io/InputStream;
MethodParameters:
Name Flags
input
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
aload 1
invokevirtual java.io.InputStream.read:([B)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
0 1 1 b [B
0 1 2 off I
0 1 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
0 1 1 n J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
Exceptions:
throws java.io.IOException
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input: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 Lorg/glassfish/jersey/message/internal/EntityInputStream;
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 org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input: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: new javax.ws.rs.ProcessingException
dup
invokestatic org.glassfish.jersey.internal.LocalizationMessages.MESSAGE_CONTENT_BUFFER_RESET_FAILED:()Ljava/lang/String;
aload 1
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
3 4 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: return
3: StackMap locals: java.io.InputStream
StackMap stack:
aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.closed:Z
ifne 12
4: aload 1
invokevirtual java.io.InputStream.close:()V
5: goto 11
StackMap locals:
StackMap stack: java.io.IOException
6: astore 2
start local 2 7: new javax.ws.rs.ProcessingException
dup
invokestatic org.glassfish.jersey.internal.LocalizationMessages.MESSAGE_CONTENT_INPUT_STREAM_CLOSE_FAILED:()Ljava/lang/String;
aload 2
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
9: aload 0
iconst_1
putfield org.glassfish.jersey.message.internal.EntityInputStream.closed:Z
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.glassfish.jersey.message.internal.EntityInputStream.closed:Z
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
1 13 1 in Ljava/io/InputStream;
7 8 2 ex Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
4 8 8 any
Exceptions:
throws javax.ws.rs.ProcessingException
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.jersey.message.internal.EntityInputStream.ensureNotClosed:()V
1: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: iconst_1
ireturn
4: StackMap locals: java.io.InputStream
StackMap stack:
aload 1
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 11
5: aload 1
iconst_1
invokevirtual java.io.InputStream.mark:(I)V
6: aload 1
invokevirtual java.io.InputStream.read:()I
istore 2
start local 2 7: aload 1
invokevirtual java.io.InputStream.reset:()V
8: iload 2
iconst_m1
if_icmpne 9
iconst_1
ireturn
StackMap locals: int
StackMap stack:
9: iconst_0
10: ireturn
end local 2 11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.InputStream.available:()I
ifle 14
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack: java.io.IOException
pop
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.InputStream.read:()I
istore 2
start local 2 15: iload 2
iconst_m1
if_icmpne 17
16: iconst_1
ireturn
17: StackMap locals: int
StackMap stack:
aload 1
instanceof java.io.PushbackInputStream
ifeq 20
18: aload 1
checkcast java.io.PushbackInputStream
astore 3
start local 3 19: goto 22
end local 3 20: StackMap locals:
StackMap stack:
new java.io.PushbackInputStream
dup
aload 1
iconst_1
invokespecial java.io.PushbackInputStream.<init>:(Ljava/io/InputStream;I)V
astore 3
start local 3 21: aload 0
aload 3
putfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
22: StackMap locals: java.io.PushbackInputStream
StackMap stack:
aload 3
iload 2
invokevirtual java.io.PushbackInputStream.unread:(I)V
23: iconst_0
ireturn
end local 3 end local 2 24: StackMap locals: org.glassfish.jersey.message.internal.EntityInputStream java.io.InputStream
StackMap stack: java.io.IOException
astore 2
start local 2 25: new javax.ws.rs.ProcessingException
dup
aload 2
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
2 26 1 in Ljava/io/InputStream;
7 11 2 i I
15 24 2 b I
19 20 3 pbis Ljava/io/PushbackInputStream;
21 24 3 pbis Ljava/io/PushbackInputStream;
25 26 2 ex Ljava/io/IOException;
Exception table:
from to target type
11 12 13 Class java.io.IOException
4 10 24 Class java.io.IOException
11 12 24 Class java.io.IOException
13 16 24 Class java.io.IOException
17 23 24 Class java.io.IOException
public void ensureNotClosed();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
invokestatic org.glassfish.jersey.internal.LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
Exceptions:
throws java.lang.IllegalStateException
public boolean isClosed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.closed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
public final java.io.InputStream getWrappedStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
public final void setWrappedStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.jersey.message.internal.EntityInputStream.input:Ljava/io/InputStream;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/message/internal/EntityInputStream;
0 2 1 wrapped Ljava/io/InputStream;
MethodParameters:
Name Flags
wrapped
}
SourceFile: "EntityInputStream.java"