public class io.dropwizard.jetty.RoutingHandler extends org.eclipse.jetty.server.handler.HandlerCollection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jetty.RoutingHandler
super_class: org.eclipse.jetty.server.handler.HandlerCollection
{
private final io.dropwizard.jetty.RoutingHandler$Entry[] entries;
descriptor: [Lio/dropwizard/jetty/RoutingHandler$Entry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.Map<org.eclipse.jetty.server.Connector, org.eclipse.jetty.server.Handler>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.server.handler.HandlerCollection.<init>:()V
1: aload 0
aload 1
invokeinterface java.util.Map.size:()I
anewarray io.dropwizard.jetty.RoutingHandler$Entry
putfield io.dropwizard.jetty.RoutingHandler.entries:[Lio/dropwizard/jetty/RoutingHandler$Entry;
2: iconst_0
istore 2
start local 2 3: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: io.dropwizard.jetty.RoutingHandler java.util.Map int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 5: aload 0
getfield io.dropwizard.jetty.RoutingHandler.entries:[Lio/dropwizard/jetty/RoutingHandler$Entry;
iload 2
iinc 2 1
new io.dropwizard.jetty.RoutingHandler$Entry
dup
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Connector
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
invokespecial io.dropwizard.jetty.RoutingHandler$Entry.<init>:(Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/server/Handler;)V
aastore
6: aload 0
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual io.dropwizard.jetty.RoutingHandler.addBean:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 0
aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Map.size:()I
anewarray org.eclipse.jetty.server.Handler
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler[]
invokevirtual io.dropwizard.jetty.RoutingHandler.setHandlers:([Lorg/eclipse/jetty/server/Handler;)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/dropwizard/jetty/RoutingHandler;
0 10 1 handlers Ljava/util/Map<Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/server/Handler;>;
3 10 2 i I
5 7 3 entry Ljava/util/Map$Entry<Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/server/Handler;>;
Signature: (Ljava/util/Map<Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/server/Handler;>;)V
MethodParameters:
Name Flags
handlers
public void handle(java.lang.String, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual org.eclipse.jetty.server.Request.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getConnector:()Lorg/eclipse/jetty/server/Connector;
astore 5
start local 5 1: aload 0
getfield io.dropwizard.jetty.RoutingHandler.entries:[Lio/dropwizard/jetty/RoutingHandler$Entry;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 7
StackMap locals: io.dropwizard.jetty.RoutingHandler java.lang.String org.eclipse.jetty.server.Request javax.servlet.http.HttpServletRequest javax.servlet.http.HttpServletResponse org.eclipse.jetty.server.Connector top int int io.dropwizard.jetty.RoutingHandler$Entry[]
StackMap stack:
2: aload 9
iload 7
aaload
astore 6
start local 6 3: aload 6
getfield io.dropwizard.jetty.RoutingHandler$Entry.connector:Lorg/eclipse/jetty/server/Connector;
aload 5
if_acmpne 6
4: aload 6
getfield io.dropwizard.jetty.RoutingHandler$Entry.handler:Lorg/eclipse/jetty/server/Handler;
aload 1
aload 2
aload 3
aload 4
invokeinterface org.eclipse.jetty.server.Handler.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
5: return
end local 6 6: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
7: iload 7
iload 8
if_icmplt 2
8: return
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 9 0 this Lio/dropwizard/jetty/RoutingHandler;
0 9 1 target Ljava/lang/String;
0 9 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 9 3 request Ljavax/servlet/http/HttpServletRequest;
0 9 4 response Ljavax/servlet/http/HttpServletResponse;
1 9 5 connector Lorg/eclipse/jetty/server/Connector;
3 6 6 entry Lio/dropwizard/jetty/RoutingHandler$Entry;
Exceptions:
throws java.io.IOException, javax.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
}
SourceFile: "RoutingHandler.java"
NestMembers:
io.dropwizard.jetty.RoutingHandler$Entry
InnerClasses:
private Entry = io.dropwizard.jetty.RoutingHandler$Entry of io.dropwizard.jetty.RoutingHandler
public abstract Entry = java.util.Map$Entry of java.util.Map