public class org.eclipse.jetty.server.handler.ContextHandlerCollection extends org.eclipse.jetty.server.handler.HandlerCollection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.handler.ContextHandlerCollection
super_class: org.eclipse.jetty.server.handler.HandlerCollection
{
private static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.eclipse.jetty.util.thread.SerializedExecutor _serializedExecutor;
descriptor: Lorg/eclipse/jetty/util/thread/SerializedExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.server.handler.ContextHandlerCollection.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_0
anewarray org.eclipse.jetty.server.Handler
invokespecial org.eclipse.jetty.server.handler.HandlerCollection.<init>:(Z[Lorg/eclipse/jetty/server/Handler;)V
1: aload 0
new org.eclipse.jetty.util.thread.SerializedExecutor
dup
invokespecial org.eclipse.jetty.util.thread.SerializedExecutor.<init>:()V
putfield org.eclipse.jetty.server.handler.ContextHandlerCollection._serializedExecutor:Lorg/eclipse/jetty/util/thread/SerializedExecutor;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
public void <init>(org.eclipse.jetty.server.handler.ContextHandler[]);
descriptor: ([Lorg/eclipse/jetty/server/handler/ContextHandler;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
iconst_0
anewarray org.eclipse.jetty.server.Handler
invokespecial org.eclipse.jetty.server.handler.HandlerCollection.<init>:(Z[Lorg/eclipse/jetty/server/Handler;)V
1: aload 0
new org.eclipse.jetty.util.thread.SerializedExecutor
dup
invokespecial org.eclipse.jetty.util.thread.SerializedExecutor.<init>:()V
putfield org.eclipse.jetty.server.handler.ContextHandlerCollection._serializedExecutor:Lorg/eclipse/jetty/util/thread/SerializedExecutor;
2: aload 0
aload 1
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection.setHandlers:([Lorg/eclipse/jetty/server/Handler;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
0 4 1 contexts [Lorg/eclipse/jetty/server/handler/ContextHandler;
MethodParameters:
Name Flags
contexts
public void mapContexts();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection._serializedExecutor:Lorg/eclipse/jetty/util/thread/SerializedExecutor;
aload 0
invokedynamic run(Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;)Ljava/lang/Runnable;
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:
()V
org/eclipse/jetty/server/handler/ContextHandlerCollection.lambda$0()V (7)
()V
invokevirtual org.eclipse.jetty.util.thread.SerializedExecutor.execute:(Ljava/lang/Runnable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedOperation(value = "Update the mapping of context path to context")
protected org.eclipse.jetty.server.handler.HandlerCollection$Handlers newHandlers(org.eclipse.jetty.server.Handler[]);
descriptor: ([Lorg/eclipse/jetty/server/Handler;)Lorg/eclipse/jetty/server/handler/HandlerCollection$Handlers;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=15, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 3: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map top int int org.eclipse.jetty.server.Handler[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: new org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch
dup
aload 3
invokespecial org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch.<init>:(Lorg/eclipse/jetty/server/Handler;)V
astore 7
start local 7 6: aload 7
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch.getContextPaths:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 10
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map org.eclipse.jetty.server.Handler int int org.eclipse.jetty.server.Handler[] org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 8: aload 2
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
astore 10
start local 10 9: aload 2
aload 8
aload 10
aload 7
ldc Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
invokestatic org.eclipse.jetty.util.ArrayUtil.addToArray:([Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 8 10: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 7 end local 3 11: iinc 4 1
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map top int int org.eclipse.jetty.server.Handler[]
StackMap stack:
12: iload 4
iload 5
if_icmplt 4
13: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 31
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map top java.util.Iterator
StackMap stack:
14: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 15: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
astore 5
start local 5 16: aload 5
arraylength
anewarray org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch
astore 6
start local 6 17: iconst_0
istore 7
start local 7 18: aload 5
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 23
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map java.util.Map$Entry java.util.Iterator org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[] org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[] int top int int org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
StackMap stack:
19: aload 11
iload 9
aaload
astore 8
start local 8 20: aload 8
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch.hasVirtualHost:()Z
ifeq 22
21: aload 6
iload 7
iinc 7 1
aload 8
aastore
end local 8 22: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
23: iload 9
iload 10
if_icmplt 19
24: aload 5
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 29
StackMap locals:
StackMap stack:
25: aload 11
iload 9
aaload
astore 8
start local 8 26: aload 8
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch.hasVirtualHost:()Z
ifne 28
27: aload 6
iload 7
iinc 7 1
aload 8
aastore
end local 8 28: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
29: iload 9
iload 10
if_icmplt 25
30: aload 3
aload 6
invokeinterface java.util.Map$Entry.setValue:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 5 end local 3 31: StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
32: sipush 512
istore 3
start local 3 33: StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int
StackMap stack:
new org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping
dup
aload 1
iload 3
invokespecial org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping.<init>:([Lorg/eclipse/jetty/server/Handler;I)V
astore 4
start local 4 34: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 39
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping top java.util.Iterator
StackMap stack:
35: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 36: aload 4
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping._pathBranches:Lorg/eclipse/jetty/util/Trie;
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 5
invokeinterface org.eclipse.jetty.util.Trie.put:(Ljava/lang/String;Ljava/lang/Object;)Z
ifne 39
37: iinc 3 512
38: goto 33
end local 5 39: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
40: getstatic org.eclipse.jetty.server.handler.ContextHandlerCollection.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 45
41: aload 4
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping._pathBranches:Lorg/eclipse/jetty/util/Trie;
invokeinterface org.eclipse.jetty.util.Trie.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 44
StackMap locals:
StackMap stack:
42: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 43: getstatic org.eclipse.jetty.server.handler.ContextHandlerCollection.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{}->{}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 4
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping._pathBranches:Lorg/eclipse/jetty/util/Trie;
aload 5
invokeinterface org.eclipse.jetty.util.Trie.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Map$Entry
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 5 44: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 42
45: StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping
StackMap stack:
aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 56
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping top java.util.Iterator
StackMap stack:
46: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
astore 5
start local 5 47: aload 5
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 55
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[] java.util.Iterator top int int org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
StackMap stack:
48: aload 10
iload 8
aaload
astore 7
start local 7 49: aload 7
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch.getContextHandlers:()[Lorg/eclipse/jetty/server/handler/ContextHandler;
dup
astore 14
arraylength
istore 13
iconst_0
istore 12
goto 53
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[] java.util.Iterator org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch int int org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[] top int int org.eclipse.jetty.server.handler.ContextHandler[]
StackMap stack:
50: aload 14
iload 12
aaload
astore 11
start local 11 51: aload 4
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping._contextBranches:Ljava/util/Map;
aload 11
aload 7
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch.getHandler:()Lorg/eclipse/jetty/server/Handler;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 52: iinc 12 1
StackMap locals:
StackMap stack:
53: iload 12
iload 13
if_icmplt 50
end local 7 54: iinc 8 1
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[] java.util.Iterator top int int org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
StackMap stack:
55: iload 8
iload 9
if_icmplt 48
end local 5 56: StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection org.eclipse.jetty.server.Handler[] java.util.Map int org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 46
57: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
0 58 1 handlers [Lorg/eclipse/jetty/server/Handler;
3 58 2 path2Branches Ljava/util/Map<Ljava/lang/String;[Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;>;
5 11 3 handler Lorg/eclipse/jetty/server/Handler;
6 11 7 branch Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
8 10 8 contextPath Ljava/lang/String;
9 10 10 branches [Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
15 31 3 entry Ljava/util/Map$Entry<Ljava/lang/String;[Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;>;
16 31 5 branches [Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
17 31 6 sorted [Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
18 31 7 i I
20 22 8 branch Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
26 28 8 branch Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
33 58 3 capacity I
34 58 4 mapping Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Mapping;
36 39 5 entry Ljava/util/Map$Entry<Ljava/lang/String;[Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;>;
43 44 5 ctx Ljava/lang/String;
47 56 5 branches [Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
49 54 7 branch Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
51 52 11 context Lorg/eclipse/jetty/server/handler/ContextHandler;
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=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection._handlers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.HandlerCollection$Handlers
astore 5
start local 5 1: aload 5
ifnonnull 3
2: return
3: StackMap locals: org.eclipse.jetty.server.handler.HandlerCollection$Handlers
StackMap stack:
aload 5
checkcast org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping
astore 6
start local 6 4: aload 2
invokevirtual org.eclipse.jetty.server.Request.getHttpChannelState:()Lorg/eclipse/jetty/server/HttpChannelState;
astore 7
start local 7 5: aload 7
invokevirtual org.eclipse.jetty.server.HttpChannelState.isAsync:()Z
ifeq 13
6: aload 7
invokevirtual org.eclipse.jetty.server.HttpChannelState.getContextHandler:()Lorg/eclipse/jetty/server/handler/ContextHandler;
astore 8
start local 8 7: aload 8
ifnull 13
8: aload 6
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping._contextBranches:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
astore 9
start local 9 9: aload 9
ifnonnull 11
10: aload 8
aload 1
aload 2
aload 3
aload 4
invokevirtual org.eclipse.jetty.server.handler.ContextHandler.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
goto 12
11: StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection java.lang.String org.eclipse.jetty.server.Request javax.servlet.http.HttpServletRequest javax.servlet.http.HttpServletResponse org.eclipse.jetty.server.handler.HandlerCollection$Handlers org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping org.eclipse.jetty.server.HttpChannelState org.eclipse.jetty.server.handler.ContextHandler org.eclipse.jetty.server.Handler
StackMap stack:
aload 9
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
12: StackMap locals:
StackMap stack:
return
end local 9 end local 8 13: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 34
14: aload 6
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping._pathBranches:Lorg/eclipse/jetty/util/Trie;
astore 8
start local 8 15: aload 8
ifnonnull 17
16: return
17: StackMap locals: org.eclipse.jetty.util.Trie
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 9
start local 9 18: goto 32
19: StackMap locals: int
StackMap stack:
aload 8
aload 1
iconst_1
iload 9
invokeinterface org.eclipse.jetty.util.Trie.getBest:(Ljava/lang/String;II)Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 10
start local 10 20: aload 10
ifnonnull 22
21: goto 43
22: StackMap locals: java.util.Map$Entry
StackMap stack:
aload 10
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.length:()I
istore 11
start local 11 23: iload 11
iconst_1
if_icmpeq 24
aload 1
invokevirtual java.lang.String.length:()I
iload 11
if_icmpeq 24
aload 1
iload 11
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 31
24: StackMap locals: int
StackMap stack:
aload 10
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
dup
astore 15
arraylength
istore 14
iconst_0
istore 13
goto 30
StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection java.lang.String org.eclipse.jetty.server.Request javax.servlet.http.HttpServletRequest javax.servlet.http.HttpServletResponse org.eclipse.jetty.server.handler.HandlerCollection$Handlers org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping org.eclipse.jetty.server.HttpChannelState org.eclipse.jetty.util.Trie int java.util.Map$Entry int top int int org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch[]
StackMap stack:
25: aload 15
iload 13
aaload
astore 12
start local 12 26: aload 12
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch.getHandler:()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
27: aload 2
invokevirtual org.eclipse.jetty.server.Request.isHandled:()Z
ifeq 29
28: return
end local 12 29: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
30: iload 13
iload 14
if_icmplt 25
31: StackMap locals: org.eclipse.jetty.server.handler.ContextHandlerCollection java.lang.String org.eclipse.jetty.server.Request javax.servlet.http.HttpServletRequest javax.servlet.http.HttpServletResponse org.eclipse.jetty.server.handler.HandlerCollection$Handlers org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping org.eclipse.jetty.server.HttpChannelState org.eclipse.jetty.util.Trie int java.util.Map$Entry int
StackMap stack:
iload 11
iconst_2
isub
istore 9
end local 11 end local 10 32: StackMap locals:
StackMap stack:
iload 9
ifge 19
end local 9 end local 8 33: goto 43
34: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping.getHandlers:()[Lorg/eclipse/jetty/server/Handler;
ifnonnull 36
35: return
36: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 37: goto 42
38: StackMap locals: int
StackMap stack:
aload 6
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping.getHandlers:()[Lorg/eclipse/jetty/server/Handler;
iload 8
aaload
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
39: aload 2
invokevirtual org.eclipse.jetty.server.Request.isHandled:()Z
ifeq 41
40: return
41: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
42: iload 8
aload 6
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping.getHandlers:()[Lorg/eclipse/jetty/server/Handler;
arraylength
if_icmplt 38
end local 8 43: StackMap locals:
StackMap stack:
return
end local 7 end local 6 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 44 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
0 44 1 target Ljava/lang/String;
0 44 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 44 3 request Ljavax/servlet/http/HttpServletRequest;
0 44 4 response Ljavax/servlet/http/HttpServletResponse;
1 44 5 handlers Lorg/eclipse/jetty/server/handler/HandlerCollection$Handlers;
4 44 6 mapping Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Mapping;
5 44 7 async Lorg/eclipse/jetty/server/HttpChannelState;
7 13 8 context Lorg/eclipse/jetty/server/handler/ContextHandler;
9 13 9 branch Lorg/eclipse/jetty/server/Handler;
15 33 8 pathBranches Lorg/eclipse/jetty/util/Trie<Ljava/util/Map$Entry<Ljava/lang/String;[Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;>;>;
18 33 9 limit I
20 32 10 branches Ljava/util/Map$Entry<Ljava/lang/String;[Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;>;
23 32 11 l I
26 29 12 branch Lorg/eclipse/jetty/server/handler/ContextHandlerCollection$Branch;
37 43 8 i I
Exceptions:
throws java.io.IOException, javax.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
public void deployHandler(org.eclipse.jetty.server.Handler, org.eclipse.jetty.util.Callback);
descriptor: (Lorg/eclipse/jetty/server/Handler;Lorg/eclipse/jetty/util/Callback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.eclipse.jetty.server.Handler.getServer:()Lorg/eclipse/jetty/server/Server;
aload 0
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection.getServer:()Lorg/eclipse/jetty/server/Server;
if_acmpeq 2
1: aload 1
aload 0
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection.getServer:()Lorg/eclipse/jetty/server/Server;
invokeinterface org.eclipse.jetty.server.Handler.setServer:(Lorg/eclipse/jetty/server/Server;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection._serializedExecutor:Lorg/eclipse/jetty/util/thread/SerializedExecutor;
new org.eclipse.jetty.server.handler.ContextHandlerCollection$1
dup
aload 0
aload 1
aload 2
invokespecial org.eclipse.jetty.server.handler.ContextHandlerCollection$1.<init>:(Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;Lorg/eclipse/jetty/server/Handler;Lorg/eclipse/jetty/util/Callback;)V
invokevirtual org.eclipse.jetty.util.thread.SerializedExecutor.execute:(Ljava/lang/Runnable;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
0 4 1 handler Lorg/eclipse/jetty/server/Handler;
0 4 2 callback Lorg/eclipse/jetty/util/Callback;
MethodParameters:
Name Flags
handler
callback
public void undeployHandler(org.eclipse.jetty.server.Handler, org.eclipse.jetty.util.Callback);
descriptor: (Lorg/eclipse/jetty/server/Handler;Lorg/eclipse/jetty/util/Callback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection._serializedExecutor:Lorg/eclipse/jetty/util/thread/SerializedExecutor;
new org.eclipse.jetty.server.handler.ContextHandlerCollection$2
dup
aload 0
aload 1
aload 2
invokespecial org.eclipse.jetty.server.handler.ContextHandlerCollection$2.<init>:(Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;Lorg/eclipse/jetty/server/Handler;Lorg/eclipse/jetty/util/Callback;)V
invokevirtual org.eclipse.jetty.util.thread.SerializedExecutor.execute:(Ljava/lang/Runnable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
0 2 1 handler Lorg/eclipse/jetty/server/Handler;
0 2 2 callback Lorg/eclipse/jetty/util/Callback;
MethodParameters:
Name Flags
handler
callback
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ContextHandlerCollection._handlers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.HandlerCollection$Handlers
astore 1
start local 1 1: aload 1
ifnonnull 3
2: goto 4
3: StackMap locals: org.eclipse.jetty.server.handler.HandlerCollection$Handlers
StackMap stack:
aload 0
aload 1
aload 0
aload 1
invokevirtual org.eclipse.jetty.server.handler.HandlerCollection$Handlers.getHandlers:()[Lorg/eclipse/jetty/server/Handler;
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection.newHandlers:([Lorg/eclipse/jetty/server/Handler;)Lorg/eclipse/jetty/server/handler/HandlerCollection$Handlers;
invokevirtual org.eclipse.jetty.server.handler.ContextHandlerCollection.updateHandlers:(Lorg/eclipse/jetty/server/handler/HandlerCollection$Handlers;Lorg/eclipse/jetty/server/handler/HandlerCollection$Handlers;)Z
ifeq 0
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
1 4 1 handlers Lorg/eclipse/jetty/server/handler/HandlerCollection$Handlers;
}
SourceFile: "ContextHandlerCollection.java"
NestMembers:
org.eclipse.jetty.server.handler.ContextHandlerCollection$1 org.eclipse.jetty.server.handler.ContextHandlerCollection$2 org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping
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
org.eclipse.jetty.server.handler.ContextHandlerCollection$1
org.eclipse.jetty.server.handler.ContextHandlerCollection$2
private final Branch = org.eclipse.jetty.server.handler.ContextHandlerCollection$Branch of org.eclipse.jetty.server.handler.ContextHandlerCollection
private Mapping = org.eclipse.jetty.server.handler.ContextHandlerCollection$Mapping of org.eclipse.jetty.server.handler.ContextHandlerCollection
protected Handlers = org.eclipse.jetty.server.handler.HandlerCollection$Handlers of org.eclipse.jetty.server.handler.HandlerCollection
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject(value = "Context Handler Collection")