public class org.eclipse.jetty.server.handler.HandlerWrapper extends org.eclipse.jetty.server.handler.AbstractHandlerContainer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.handler.HandlerWrapper
super_class: org.eclipse.jetty.server.handler.AbstractHandlerContainer
{
protected org.eclipse.jetty.server.Handler _handler;
descriptor: Lorg/eclipse/jetty/server/Handler;
flags: (0x0004) ACC_PROTECTED
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.AbstractHandlerContainer.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/HandlerWrapper;
public org.eclipse.jetty.server.Handler getHandler();
descriptor: ()Lorg/eclipse/jetty/server/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/eclipse/jetty/server/Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/HandlerWrapper;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "Wrapped Handler", readonly = true)
public org.eclipse.jetty.server.Handler[] getHandlers();
descriptor: ()[Lorg/eclipse/jetty/server/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/eclipse/jetty/server/Handler;
ifnonnull 2
1: iconst_0
anewarray org.eclipse.jetty.server.Handler
areturn
2: StackMap locals:
StackMap stack:
iconst_1
anewarray org.eclipse.jetty.server.Handler
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/eclipse/jetty/server/Handler;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/HandlerWrapper;
public void setHandler(org.eclipse.jetty.server.Handler);
descriptor: (Lorg/eclipse/jetty/server/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.isStarted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
aload 0
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.getState:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
if_acmpeq 4
aload 1
instanceof org.eclipse.jetty.server.HandlerContainer
ifeq 5
3: aload 1
checkcast org.eclipse.jetty.server.HandlerContainer
invokeinterface org.eclipse.jetty.server.HandlerContainer.getChildHandlers:()[Lorg/eclipse/jetty/server/Handler;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 0
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "setHandler loop"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
ifnull 7
6: aload 1
aload 0
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.getServer:()Lorg/eclipse/jetty/server/Server;
invokeinterface org.eclipse.jetty.server.Handler.setServer:(Lorg/eclipse/jetty/server/Server;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/eclipse/jetty/server/Handler;
astore 2
start local 2 8: aload 0
aload 1
putfield org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/eclipse/jetty/server/Handler;
9: aload 0
aload 2
aload 0
getfield org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/eclipse/jetty/server/Handler;
iconst_1
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.updateBean:(Ljava/lang/Object;Ljava/lang/Object;Z)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/handler/HandlerWrapper;
0 11 1 handler Lorg/eclipse/jetty/server/Handler;
8 11 2 old Lorg/eclipse/jetty/server/Handler;
MethodParameters:
Name Flags
handler
public void insertHandler(org.eclipse.jetty.server.handler.HandlerWrapper);
descriptor: (Lorg/eclipse/jetty/server/handler/HandlerWrapper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 3: goto 5
4: StackMap locals: org.eclipse.jetty.server.handler.HandlerWrapper
StackMap stack:
aload 2
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.getHandler:()Lorg/eclipse/jetty/server/Handler;
checkcast org.eclipse.jetty.server.handler.HandlerWrapper
astore 2
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.getHandler:()Lorg/eclipse/jetty/server/Handler;
instanceof org.eclipse.jetty.server.handler.HandlerWrapper
ifne 4
6: aload 2
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.getHandler:()Lorg/eclipse/jetty/server/Handler;
ifnull 8
7: new java.lang.IllegalArgumentException
dup
ldc "bad tail of inserted wrapper chain"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.getHandler:()Lorg/eclipse/jetty/server/Handler;
astore 3
start local 3 9: aload 0
aload 1
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
10: aload 2
aload 3
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/server/handler/HandlerWrapper;
0 12 1 wrapper Lorg/eclipse/jetty/server/handler/HandlerWrapper;
3 12 2 tail Lorg/eclipse/jetty/server/handler/HandlerWrapper;
9 12 3 next Lorg/eclipse/jetty/server/Handler;
MethodParameters:
Name Flags
wrapper
public void handle(java.lang.String, org.eclipse.jetty.server.Request, jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/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 org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/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;Ljakarta/servlet/http/HttpServletRequest;Ljakarta/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 Lorg/eclipse/jetty/server/handler/HandlerWrapper;
0 4 1 target Ljava/lang/String;
0 4 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 4 3 request Ljakarta/servlet/http/HttpServletRequest;
0 4 4 response Ljakarta/servlet/http/HttpServletResponse;
1 4 5 handler Lorg/eclipse/jetty/server/Handler;
Exceptions:
throws java.io.IOException, jakarta.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.eclipse.jetty.server.handler.HandlerWrapper._handler:Lorg/eclipse/jetty/server/Handler;
aload 1
aload 2
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.expandHandler:(Lorg/eclipse/jetty/server/Handler;Ljava/util/List;Ljava/lang/Class;)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/HandlerWrapper;
0 2 1 list Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;
0 2 2 byClass Ljava/lang/Class<*>;
Signature: (Ljava/util/List<Lorg/eclipse/jetty/server/Handler;>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
list
byClass
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.isStopped:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "!STOPPED"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.getHandler:()Lorg/eclipse/jetty/server/Handler;
astore 1
start local 1 3: aload 1
ifnull 6
4: aload 0
aconst_null
invokevirtual org.eclipse.jetty.server.handler.HandlerWrapper.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
5: aload 1
invokeinterface org.eclipse.jetty.server.Handler.destroy:()V
6: StackMap locals: org.eclipse.jetty.server.Handler
StackMap stack:
aload 0
invokespecial org.eclipse.jetty.server.handler.AbstractHandlerContainer.destroy:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/server/handler/HandlerWrapper;
3 8 1 child Lorg/eclipse/jetty/server/Handler;
}
SourceFile: "HandlerWrapper.java"
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject(value = "Handler wrapping another Handler")