class io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler<C extends io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>> implements io.vertx.core.streams.ReadStream<C>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler
super_class: java.lang.Object
{
private io.vertx.core.Handler<C> handler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<TC;>;
private long demand;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Handler<java.lang.Void> endHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
final io.vertx.core.http.impl.HttpServerImpl this$0;
descriptor: Lio/vertx/core/http/impl/HttpServerImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.core.http.impl.HttpServerImpl);
descriptor: (Lio/vertx/core/http/impl/HttpServerImpl;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc 9223372036854775807
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
MethodParameters:
Name Flags
this$0 final
io.vertx.core.Handler<C> handler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:Lio/vertx/core/Handler;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler io.vertx.core.http.impl.HttpServerImpl
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Lio/vertx/core/Handler<TC;>;
boolean accept();
descriptor: ()Z
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
lconst_0
lcmp
ifle 2
iconst_1
goto 3
StackMap locals: io.vertx.core.http.impl.HttpServerImpl
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: iload 2
ifeq 6
aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
ldc 9223372036854775807
lcmp
ifeq 6
5: aload 0
dup
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
lconst_1
lsub
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
6: StackMap locals: int
StackMap stack:
iload 2
aload 1
monitorexit
7: ireturn
end local 2 8: StackMap locals: io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler io.vertx.core.http.impl.HttpServerImpl
StackMap stack: java.lang.Throwable
aload 1
monitorexit
9: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
4 8 2 accept Z
Exception table:
from to target type
1 7 8 any
8 9 8 any
io.vertx.core.Handler<java.lang.Void> endHandler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:Lio/vertx/core/Handler;
aload 1
monitorexit
2: areturn
3: StackMap locals: io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler io.vertx.core.http.impl.HttpServerImpl
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Lio/vertx/core/Handler<Ljava/lang/Void;>;
public io.vertx.core.streams.ReadStream handler(io.vertx.core.Handler<C>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
invokevirtual io.vertx.core.http.impl.HttpServerImpl.isListening:()Z
ifeq 3
2: new java.lang.IllegalStateException
dup
ldc "Please set handler before server is listening"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.vertx.core.http.impl.HttpServerImpl
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.handler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
0 8 1 handler Lio/vertx/core/Handler<TC;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<TC;>;)Lio/vertx/core/streams/ReadStream;
MethodParameters:
Name Flags
handler
public io.vertx.core.streams.ReadStream pause();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
dup
astore 1
monitorenter
1: aload 0
lconst_0
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
2: aload 0
aload 1
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler io.vertx.core.http.impl.HttpServerImpl
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public io.vertx.core.streams.ReadStream fetch(long);
descriptor: (J)Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifle 4
1: aload 0
dup
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
lload 1
ladd
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
2: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
lconst_0
lcmp
ifge 4
3: aload 0
ldc 9223372036854775807
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
0 5 1 amount J
MethodParameters:
Name Flags
amount
public io.vertx.core.streams.ReadStream resume();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
dup
astore 1
monitorenter
1: aload 0
ldc 9223372036854775807
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.demand:J
2: aload 0
aload 1
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler io.vertx.core.http.impl.HttpServerImpl
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public io.vertx.core.streams.ReadStream endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.this$0:Lio/vertx/core/http/impl/HttpServerImpl;
dup
astore 2
monitorenter
1: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.endHandler:Lio/vertx/core/Handler;
2: aload 0
aload 2
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler io.vertx.core.Handler io.vertx.core.http.impl.HttpServerImpl
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
0 6 1 endHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/streams/ReadStream;
MethodParameters:
Name Flags
endHandler
public io.vertx.core.streams.ReadStream exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerImpl$HttpStreamHandler<TC;>;
0 1 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/streams/ReadStream;
MethodParameters:
Name Flags
handler
public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <C::Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;>Ljava/lang/Object;Lio/vertx/core/streams/ReadStream<TC;>;
SourceFile: "HttpServerImpl.java"
NestHost: io.vertx.core.http.impl.HttpServerImpl
InnerClasses:
HttpStreamHandler = io.vertx.core.http.impl.HttpServerImpl$HttpStreamHandler of io.vertx.core.http.impl.HttpServerImpl