public class io.dropwizard.jetty.ContextRoutingHandler extends org.eclipse.jetty.server.handler.AbstractHandlerContainer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jetty.ContextRoutingHandler
super_class: org.eclipse.jetty.server.handler.AbstractHandlerContainer
{
private final org.eclipse.jetty.util.ArrayTernaryTrie<org.eclipse.jetty.server.Handler> handlers;
descriptor: Lorg/eclipse/jetty/util/ArrayTernaryTrie;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/jetty/util/ArrayTernaryTrie<Lorg/eclipse/jetty/server/Handler;>;
public void <init>(java.util.Map<java.lang.String, ? extends org.eclipse.jetty.server.Handler>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.server.handler.AbstractHandlerContainer.<init>:()V
1: aload 0
new org.eclipse.jetty.util.ArrayTernaryTrie
dup
iconst_0
invokespecial org.eclipse.jetty.util.ArrayTernaryTrie.<init>:(Z)V
putfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
2: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: io.dropwizard.jetty.ContextRoutingHandler java.util.Map top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 4: aload 0
getfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
invokevirtual org.eclipse.jetty.util.ArrayTernaryTrie.put:(Ljava/lang/String;Ljava/lang/Object;)Z
ifne 6
5: new java.lang.IllegalStateException
dup
ldc "Too many handlers"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: io.dropwizard.jetty.ContextRoutingHandler java.util.Map java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 0
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual io.dropwizard.jetty.ContextRoutingHandler.addBean:(Ljava/lang/Object;)Z
pop
end local 2 7: StackMap locals: io.dropwizard.jetty.ContextRoutingHandler java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/jetty/ContextRoutingHandler;
0 9 1 handlers Ljava/util/Map<Ljava/lang/String;+Lorg/eclipse/jetty/server/Handler;>;
4 7 2 entry Ljava/util/Map$Entry<Ljava/lang/String;+Lorg/eclipse/jetty/server/Handler;>;
Signature: (Ljava/util/Map<Ljava/lang/String;+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=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
aload 2
invokevirtual org.eclipse.jetty.server.Request.getRequestURI:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.util.ArrayTernaryTrie.getBest:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
astore 5
start local 5 1: aload 5
ifnull 3
2: aload 5
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
3: StackMap locals: org.eclipse.jetty.server.Handler
StackMap stack:
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 4 0 this Lio/dropwizard/jetty/ContextRoutingHandler;
0 4 1 target Ljava/lang/String;
0 4 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 4 3 request Ljavax/servlet/http/HttpServletRequest;
0 4 4 response Ljavax/servlet/http/HttpServletResponse;
1 4 5 handler Lorg/eclipse/jetty/server/Handler;
Exceptions:
throws java.io.IOException, javax.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
protected void doStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.server.handler.AbstractHandlerContainer.doStart:()V
1: aload 0
getfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
invokevirtual org.eclipse.jetty.util.ArrayTernaryTrie.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: io.dropwizard.jetty.ContextRoutingHandler top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 0
getfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
aload 1
invokevirtual org.eclipse.jetty.util.ArrayTernaryTrie.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
invokeinterface org.eclipse.jetty.server.Handler.start:()V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/jetty/ContextRoutingHandler;
3 4 1 key Ljava/lang/String;
Exceptions:
throws java.lang.Exception
protected void doStop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.server.handler.AbstractHandlerContainer.doStop:()V
1: aload 0
getfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
invokevirtual org.eclipse.jetty.util.ArrayTernaryTrie.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: io.dropwizard.jetty.ContextRoutingHandler top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 0
getfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
aload 1
invokevirtual org.eclipse.jetty.util.ArrayTernaryTrie.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
invokeinterface org.eclipse.jetty.server.Handler.stop:()V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/jetty/ContextRoutingHandler;
3 4 1 key Ljava/lang/String;
Exceptions:
throws java.lang.Exception
public org.eclipse.jetty.server.Handler[] getHandlers();
descriptor: ()[Lorg/eclipse/jetty/server/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.ContextRoutingHandler.handlers:Lorg/eclipse/jetty/util/ArrayTernaryTrie;
invokevirtual org.eclipse.jetty.util.ArrayTernaryTrie.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
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/jetty/ContextRoutingHandler.lambda$0(Ljava/util/Map$Entry;)Lorg/eclipse/jetty/server/Handler; (6)
(Ljava/util/Map$Entry;)Lorg/eclipse/jetty/server/Handler;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
io/dropwizard/jetty/ContextRoutingHandler.lambda$1(I)[Lorg/eclipse/jetty/server/Handler; (6)
(I)[Lorg/eclipse/jetty/server/Handler;
invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/ContextRoutingHandler;
private static org.eclipse.jetty.server.Handler lambda$0(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Lorg/eclipse/jetty/server/Handler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/eclipse/jetty/server/Handler;>;
private static org.eclipse.jetty.server.Handler[] lambda$1(int);
descriptor: (I)[Lorg/eclipse/jetty/server/Handler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: iload 0
anewarray org.eclipse.jetty.server.Handler
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ContextRoutingHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map