public class org.jboss.resteasy.util.NoContentInputStreamDelegate extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.util.NoContentInputStreamDelegate
super_class: java.io.InputStream
{
protected java.io.InputStream delegate;
descriptor: Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
protected boolean hasRead;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
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
aload 1
putfield org.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
0 3 1 delegate Ljava/io/InputStream;
MethodParameters:
Name Flags
delegate
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual org.jboss.resteasy.util.NoContentInputStreamDelegate.check:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
1 2 1 amount I
Exceptions:
throws java.io.IOException
private int check(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_m1
if_icmple 1
aload 0
iconst_1
putfield org.jboss.resteasy.util.NoContentInputStreamDelegate.hasRead:Z
goto 3
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.util.NoContentInputStreamDelegate.hasRead:Z
ifne 3
2: new javax.ws.rs.core.NoContentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.noContent:()Ljava/lang/String;
invokespecial javax.ws.rs.core.NoContentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
0 4 1 amount I
Exceptions:
throws javax.ws.rs.core.NoContentException
MethodParameters:
Name Flags
amount
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
aload 1
invokevirtual java.io.InputStream.read:([B)I
istore 2
start local 2 1: aload 0
iload 2
invokevirtual org.jboss.resteasy.util.NoContentInputStreamDelegate.check:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
0 2 1 b [B
1 2 2 amount I
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=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 1: aload 0
iload 4
invokevirtual org.jboss.resteasy.util.NoContentInputStreamDelegate.check:(I)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
0 2 1 b [B
0 2 2 off I
0 2 3 len I
1 2 4 amount 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.jboss.resteasy.util.NoContentInputStreamDelegate.delegate: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/jboss/resteasy/util/NoContentInputStreamDelegate;
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.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
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.jboss.resteasy.util.NoContentInputStreamDelegate.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 Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
0 2 1 readlimit I
MethodParameters:
Name Flags
readlimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
Exceptions:
throws java.io.IOException
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.jboss.resteasy.util.NoContentInputStreamDelegate.delegate:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
}
SourceFile: "NoContentInputStreamDelegate.java"