public class io.vertx.ext.shell.command.base.NetCommandLs extends io.vertx.ext.shell.command.AnnotatedCommand
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.shell.command.base.NetCommandLs
super_class: io.vertx.ext.shell.command.AnnotatedCommand
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // io.vertx.ext.shell.command.base.NetCommandLs this
0: .line 51
aload 0 /* this */
invokespecial io.vertx.ext.shell.command.AnnotatedCommand.<init>:()V
return
end local 0 // io.vertx.ext.shell.command.base.NetCommandLs this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/command/base/NetCommandLs;
public void process(io.vertx.ext.shell.command.CommandProcess);
descriptor: (Lio/vertx/ext/shell/command/CommandProcess;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 // io.vertx.ext.shell.command.base.NetCommandLs this
start local 1 // io.vertx.ext.shell.command.CommandProcess process
0: .line 55
aload 1 /* process */
invokeinterface io.vertx.ext.shell.command.CommandProcess.vertx:()Lio/vertx/core/Vertx;
checkcast io.vertx.core.impl.VertxInternal
astore 2 /* vertx */
start local 2 // io.vertx.core.impl.VertxInternal vertx
1: .line 56
aload 1 /* process */
ldc "\nNet Servers:\n"
invokeinterface io.vertx.ext.shell.command.CommandProcess.write:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandProcess;
pop
2: .line 57
aload 2 /* vertx */
invokeinterface io.vertx.core.impl.VertxInternal.sharedNetServers:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: io.vertx.ext.shell.command.base.NetCommandLs io.vertx.ext.shell.command.CommandProcess io.vertx.core.impl.VertxInternal top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3 /* server */
start local 3 // java.util.Map$Entry server
4: .line 58
aload 1 /* process */
new java.lang.StringBuilder
dup
aload 3 /* server */
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast io.vertx.core.net.impl.ServerID
getfield io.vertx.core.net.impl.ServerID.host:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3 /* server */
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast io.vertx.core.net.impl.ServerID
getfield io.vertx.core.net.impl.ServerID.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.ext.shell.command.CommandProcess.write:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandProcess;
pop
end local 3 // java.util.Map$Entry server
5: .line 57
StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: .line 60
aload 1 /* process */
ldc "\nHTTP Servers:\n"
invokeinterface io.vertx.ext.shell.command.CommandProcess.write:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandProcess;
pop
7: .line 61
aload 2 /* vertx */
invokeinterface io.vertx.core.impl.VertxInternal.sharedHttpServers:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals:
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3 /* server */
start local 3 // java.util.Map$Entry server
9: .line 62
aload 1 /* process */
new java.lang.StringBuilder
dup
aload 3 /* server */
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast io.vertx.core.net.impl.ServerID
getfield io.vertx.core.net.impl.ServerID.host:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3 /* server */
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast io.vertx.core.net.impl.ServerID
getfield io.vertx.core.net.impl.ServerID.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.ext.shell.command.CommandProcess.write:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandProcess;
pop
end local 3 // java.util.Map$Entry server
10: .line 61
StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: .line 64
aload 1 /* process */
invokeinterface io.vertx.ext.shell.command.CommandProcess.end:()V
12: .line 65
return
end local 2 // io.vertx.core.impl.VertxInternal vertx
end local 1 // io.vertx.ext.shell.command.CommandProcess process
end local 0 // io.vertx.ext.shell.command.base.NetCommandLs this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/ext/shell/command/base/NetCommandLs;
0 13 1 process Lio/vertx/ext/shell/command/CommandProcess;
1 13 2 vertx Lio/vertx/core/impl/VertxInternal;
4 5 3 server Ljava/util/Map$Entry<Lio/vertx/core/net/impl/ServerID;Lio/vertx/core/net/impl/NetServerImpl;>;
9 10 3 server Ljava/util/Map$Entry<Lio/vertx/core/net/impl/ServerID;Lio/vertx/core/http/impl/HttpServerImpl;>;
MethodParameters:
Name Flags
process
}
SourceFile: "NetCommandLs.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
io.vertx.core.cli.annotations.Name(value = "net-ls")
io.vertx.core.cli.annotations.Summary(value = "List all servers")