public abstract class org.eclipse.jetty.server.handler.AbstractHandlerContainer extends org.eclipse.jetty.server.handler.AbstractHandler implements org.eclipse.jetty.server.HandlerContainer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jetty.server.handler.AbstractHandlerContainer
super_class: org.eclipse.jetty.server.handler.AbstractHandler
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, 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/AbstractHandlerContainer;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.server.handler.AbstractHandlerContainer.LOG:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.server.handler.AbstractHandler.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/AbstractHandlerContainer;
public org.eclipse.jetty.server.Handler[] getChildHandlers();
descriptor: ()[Lorg/eclipse/jetty/server/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
aconst_null
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.expandChildren:(Ljava/util/List;Ljava/lang/Class;)V
2: aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray org.eclipse.jetty.server.Handler
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/AbstractHandlerContainer;
1 3 1 list Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;
public org.eclipse.jetty.server.Handler[] getChildHandlersByClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Lorg/eclipse/jetty/server/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.expandChildren:(Ljava/util/List;Ljava/lang/Class;)V
2: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray org.eclipse.jetty.server.Handler
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/AbstractHandlerContainer;
0 3 1 byclass Ljava/lang/Class<*>;
1 3 2 list Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;
Signature: (Ljava/lang/Class<*>;)[Lorg/eclipse/jetty/server/Handler;
MethodParameters:
Name Flags
byclass
public <T extends org.eclipse.jetty.server.Handler> T getChildHandlerByClass(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/eclipse/jetty/server/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.expandChildren:(Ljava/util/List;Ljava/lang/Class;)V
2: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: aconst_null
areturn
4: StackMap locals: java.util.List
StackMap stack:
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Handler
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/handler/AbstractHandlerContainer;
0 5 1 byclass Ljava/lang/Class<TT;>;
1 5 2 list Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;
Signature: <T::Lorg/eclipse/jetty/server/Handler;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
byclass
protected void expandChildren(java.util.List<org.eclipse.jetty.server.Handler>, java.lang.Class<?>);
descriptor: (Ljava/util/List;Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/AbstractHandlerContainer;
0 1 1 list Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;
0 1 2 byClass Ljava/lang/Class<*>;
Signature: (Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
list
byClass
protected void expandHandler(org.eclipse.jetty.server.Handler, java.util.List<org.eclipse.jetty.server.Handler>, java.lang.Class<?>);
descriptor: (Lorg/eclipse/jetty/server/Handler;Ljava/util/List;Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
ifnull 3
aload 3
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.eclipse.jetty.server.handler.AbstractHandlerContainer
ifeq 6
5: aload 1
checkcast org.eclipse.jetty.server.handler.AbstractHandlerContainer
aload 2
aload 3
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.expandChildren:(Ljava/util/List;Ljava/lang/Class;)V
goto 12
6: StackMap locals:
StackMap stack:
aload 1
instanceof org.eclipse.jetty.server.HandlerContainer
ifeq 12
7: aload 1
checkcast org.eclipse.jetty.server.HandlerContainer
astore 4
start local 4 8: aload 3
ifnonnull 9
aload 4
invokeinterface org.eclipse.jetty.server.HandlerContainer.getChildHandlers:()[Lorg/eclipse/jetty/server/Handler;
goto 10
StackMap locals: org.eclipse.jetty.server.HandlerContainer
StackMap stack:
9: aload 4
aload 3
invokeinterface org.eclipse.jetty.server.HandlerContainer.getChildHandlersByClass:(Ljava/lang/Class;)[Lorg/eclipse/jetty/server/Handler;
StackMap locals:
StackMap stack: org.eclipse.jetty.server.Handler[]
10: astore 5
start local 5 11: aload 2
aload 5
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 5 end local 4 12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/server/handler/AbstractHandlerContainer;
0 13 1 handler Lorg/eclipse/jetty/server/Handler;
0 13 2 list Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;
0 13 3 byClass Ljava/lang/Class<*>;
8 12 4 container Lorg/eclipse/jetty/server/HandlerContainer;
11 12 5 handlers [Lorg/eclipse/jetty/server/Handler;
Signature: (Lorg/eclipse/jetty/server/Handler;Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
handler
list
byClass
public static <T extends org.eclipse.jetty.server.HandlerContainer> T findContainerOf(org.eclipse.jetty.server.HandlerContainer, java.lang.Class<T>, org.eclipse.jetty.server.Handler);
descriptor: (Lorg/eclipse/jetty/server/HandlerContainer;Ljava/lang/Class;Lorg/eclipse/jetty/server/Handler;)Lorg/eclipse/jetty/server/HandlerContainer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.eclipse.jetty.server.HandlerContainer.getChildHandlersByClass:(Ljava/lang/Class;)[Lorg/eclipse/jetty/server/Handler;
astore 3
start local 3 3: aload 3
ifnull 17
4: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 16
StackMap locals: org.eclipse.jetty.server.HandlerContainer java.lang.Class org.eclipse.jetty.server.Handler org.eclipse.jetty.server.Handler[] top int int org.eclipse.jetty.server.Handler[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: aload 4
checkcast org.eclipse.jetty.server.HandlerContainer
astore 8
start local 8 7: aload 8
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface org.eclipse.jetty.server.HandlerContainer.getChildHandlersByClass:(Ljava/lang/Class;)[Lorg/eclipse/jetty/server/Handler;
astore 9
start local 9 8: aload 9
ifnull 15
9: aload 9
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 14
StackMap locals: org.eclipse.jetty.server.HandlerContainer java.lang.Class org.eclipse.jetty.server.Handler org.eclipse.jetty.server.Handler[] org.eclipse.jetty.server.Handler int int org.eclipse.jetty.server.Handler[] org.eclipse.jetty.server.HandlerContainer org.eclipse.jetty.server.Handler[] top int int org.eclipse.jetty.server.Handler[]
StackMap stack:
10: aload 13
iload 11
aaload
astore 10
start local 10 11: aload 10
aload 2
if_acmpne 13
12: aload 8
areturn
end local 10 13: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
14: iload 11
iload 12
if_icmplt 10
end local 9 end local 8 end local 4 15: StackMap locals: org.eclipse.jetty.server.HandlerContainer java.lang.Class org.eclipse.jetty.server.Handler org.eclipse.jetty.server.Handler[] top int int org.eclipse.jetty.server.Handler[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 6
if_icmplt 5
17: StackMap locals: org.eclipse.jetty.server.HandlerContainer java.lang.Class org.eclipse.jetty.server.Handler org.eclipse.jetty.server.Handler[]
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 root Lorg/eclipse/jetty/server/HandlerContainer;
0 18 1 type Ljava/lang/Class<TT;>;
0 18 2 handler Lorg/eclipse/jetty/server/Handler;
3 18 3 branches [Lorg/eclipse/jetty/server/Handler;
6 15 4 h Lorg/eclipse/jetty/server/Handler;
7 15 8 container TT;
8 15 9 candidates [Lorg/eclipse/jetty/server/Handler;
11 13 10 c Lorg/eclipse/jetty/server/Handler;
Signature: <T::Lorg/eclipse/jetty/server/HandlerContainer;>(Lorg/eclipse/jetty/server/HandlerContainer;Ljava/lang/Class<TT;>;Lorg/eclipse/jetty/server/Handler;)TT;
MethodParameters:
Name Flags
root
type
handler
public void setServer(org.eclipse.jetty.server.Server);
descriptor: (Lorg/eclipse/jetty/server/Server;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.getServer:()Lorg/eclipse/jetty/server/Server;
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.isStarted:()Z
ifeq 4
3: new java.lang.IllegalStateException
dup
aload 0
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.getState:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.eclipse.jetty.server.handler.AbstractHandler.setServer:(Lorg/eclipse/jetty/server/Server;)V
5: aload 0
invokevirtual org.eclipse.jetty.server.handler.AbstractHandlerContainer.getHandlers:()[Lorg/eclipse/jetty/server/Handler;
astore 2
start local 2 6: aload 2
ifnull 12
7: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: org.eclipse.jetty.server.handler.AbstractHandlerContainer org.eclipse.jetty.server.Server org.eclipse.jetty.server.Handler[] top int int org.eclipse.jetty.server.Handler[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: aload 3
aload 1
invokeinterface org.eclipse.jetty.server.Handler.setServer:(Lorg/eclipse/jetty/server/Server;)V
end local 3 10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 8
12: StackMap locals: org.eclipse.jetty.server.handler.AbstractHandlerContainer org.eclipse.jetty.server.Server org.eclipse.jetty.server.Handler[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/server/handler/AbstractHandlerContainer;
0 13 1 server Lorg/eclipse/jetty/server/Server;
6 13 2 handlers [Lorg/eclipse/jetty/server/Handler;
9 10 3 h Lorg/eclipse/jetty/server/Handler;
MethodParameters:
Name Flags
server
}
SourceFile: "AbstractHandlerContainer.java"