class org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource extends org.glassfish.grizzly.http2.Source
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource
super_class: org.glassfish.grizzly.http2.Source
{
private boolean isClosed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.Buffer buffer;
descriptor: Lorg/glassfish/grizzly/Buffer;
flags: (0x0002) ACC_PRIVATE
private final org.glassfish.grizzly.http2.Http2Stream stream;
descriptor: Lorg/glassfish/grizzly/http2/Http2Stream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http2.Http2Stream);
descriptor: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http2/Http2Stream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.glassfish.grizzly.http2.Source.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
2: aload 0
aload 2
putfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/Source$SourceFactory$BufferSource;
0 4 1 buffer Lorg/glassfish/grizzly/Buffer;
0 4 2 stream Lorg/glassfish/grizzly/http2/Http2Stream;
MethodParameters:
Name Flags
buffer final
stream final
public int remaining();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/Source$SourceFactory$BufferSource;
public org.glassfish.grizzly.Buffer read(int);
descriptor: (I)Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.isClosed:Z
ifeq 2
1: new org.glassfish.grizzly.http2.Http2StreamException
dup
aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
invokevirtual org.glassfish.grizzly.http2.Http2Stream.getId:()I
getstatic org.glassfish.grizzly.http2.frames.ErrorCode.INTERNAL_ERROR:Lorg/glassfish/grizzly/http2/frames/ErrorCode;
ldc "The source was closed"
invokespecial org.glassfish.grizzly.http2.Http2StreamException.<init>:(ILorg/glassfish/grizzly/http2/frames/ErrorCode;Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
istore 2
start local 2 3: iload 1
ifeq 4
iload 2
ifne 5
4: StackMap locals: int
StackMap stack:
getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
areturn
5: StackMap locals:
StackMap stack:
iload 2
iload 1
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 6: aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 3
iadd
invokeinterface org.glassfish.grizzly.Buffer.split:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 7: aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
astore 5
start local 5 8: aload 0
aload 4
putfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
9: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http2/Source$SourceFactory$BufferSource;
0 10 1 length I
3 10 2 remaining I
6 10 3 bytesToSplit I
7 10 4 newBuf Lorg/glassfish/grizzly/Buffer;
8 10 5 bufferToReturn Lorg/glassfish/grizzly/Buffer;
Exceptions:
throws org.glassfish.grizzly.http2.Http2StreamException
MethodParameters:
Name Flags
length final
public boolean hasRemaining();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.isClosed:Z
ifne 1
aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/Source$SourceFactory$BufferSource;
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.isClosed:Z
ifne 3
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.isClosed:Z
2: aload 0
getfield org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource.buffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.tryDispose:()Z
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/Source$SourceFactory$BufferSource;
}
SourceFile: "Source.java"
NestHost: org.glassfish.grizzly.http2.Source
InnerClasses:
public final SourceFactory = org.glassfish.grizzly.http2.Source$SourceFactory of org.glassfish.grizzly.http2.Source
private BufferSource = org.glassfish.grizzly.http2.Source$SourceFactory$BufferSource of org.glassfish.grizzly.http2.Source$SourceFactory