public interface io.dropwizard.lifecycle.ServerLifecycleListener extends java.util.EventListener
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.dropwizard.lifecycle.ServerLifecycleListener
super_class: java.lang.Object
{
public abstract void serverStarted(org.eclipse.jetty.server.Server);
descriptor: (Lorg/eclipse/jetty/server/Server;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
server
public int getLocalPort(org.eclipse.jetty.server.Server);
descriptor: (Lorg/eclipse/jetty/server/Server;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jetty.server.Server.getConnectors:()[Lorg/eclipse/jetty/server/Connector;
iconst_0
aaload
checkcast org.eclipse.jetty.server.ServerConnector
invokevirtual org.eclipse.jetty.server.ServerConnector.getLocalPort:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/ServerLifecycleListener;
0 1 1 server Lorg/eclipse/jetty/server/Server;
MethodParameters:
Name Flags
server
public int getAdminPort(org.eclipse.jetty.server.Server);
descriptor: (Lorg/eclipse/jetty/server/Server;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jetty.server.Server.getConnectors:()[Lorg/eclipse/jetty/server/Connector;
astore 2
start local 2 1: aload 2
aload 2
arraylength
iconst_1
isub
aaload
checkcast org.eclipse.jetty.server.ServerConnector
invokevirtual org.eclipse.jetty.server.ServerConnector.getLocalPort:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/ServerLifecycleListener;
0 2 1 server Lorg/eclipse/jetty/server/Server;
1 2 2 connectors [Lorg/eclipse/jetty/server/Connector;
MethodParameters:
Name Flags
server
public java.util.List<io.dropwizard.lifecycle.PortDescriptor> getPortDescriptorList(org.eclipse.jetty.server.Server);
descriptor: (Lorg/eclipse/jetty/server/Server;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jetty.server.Server.getConnectors:()[Lorg/eclipse/jetty/server/Connector;
astore 2
start local 2 1: aload 2
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
2: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/dropwizard/lifecycle/ServerLifecycleListener.lambda$0(Lorg/eclipse/jetty/server/Connector;)Ljava/util/List; (6 itf)
(Lorg/eclipse/jetty/server/Connector;)Ljava/util/List;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Collection.stream()Ljava/util/stream/Stream; (9 itf)
(Ljava/util/List;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/lifecycle/ServerLifecycleListener;
0 6 1 server Lorg/eclipse/jetty/server/Server;
1 6 2 connectors [Lorg/eclipse/jetty/server/Connector;
Signature: (Lorg/eclipse/jetty/server/Server;)Ljava/util/List<Lio/dropwizard/lifecycle/PortDescriptor;>;
MethodParameters:
Name Flags
server
private static java.util.List lambda$0(org.eclipse.jetty.server.Connector);
descriptor: (Lorg/eclipse/jetty/server/Connector;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.eclipse.jetty.server.Connector.getProtocols:()Ljava/util/List;
1: invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
2: aload 0
invokedynamic apply(Lorg/eclipse/jetty/server/Connector;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/dropwizard/lifecycle/ServerLifecycleListener.lambda$1(Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;)Lio/dropwizard/lifecycle/PortDescriptor; (6 itf)
(Ljava/lang/String;)Lio/dropwizard/lifecycle/PortDescriptor;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 conn Lorg/eclipse/jetty/server/Connector;
private static io.dropwizard.lifecycle.PortDescriptor lambda$1(org.eclipse.jetty.server.Connector, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;)Lio/dropwizard/lifecycle/PortDescriptor;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=2
start local 1 0: new io.dropwizard.lifecycle.PortDescriptor
dup
aload 1
aload 0
checkcast org.eclipse.jetty.server.ServerConnector
invokevirtual org.eclipse.jetty.server.ServerConnector.getLocalPort:()I
aload 0
invokeinterface org.eclipse.jetty.server.Connector.getName:()Ljava/lang/String;
aload 0
checkcast org.eclipse.jetty.server.ServerConnector
invokevirtual org.eclipse.jetty.server.ServerConnector.getHost:()Ljava/lang/String;
invokespecial io.dropwizard.lifecycle.PortDescriptor.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 protocol Ljava/lang/String;
}
SourceFile: "ServerLifecycleListener.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles