public class org.glassfish.grizzly.http.ajp.AjpAddOn implements org.glassfish.grizzly.http.server.AddOn
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.ajp.AjpAddOn
super_class: java.lang.Object
{
private boolean isTomcatAuthentication;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String secret;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http.ajp.AjpAddOn.isTomcatAuthentication:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
public void configure(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield org.glassfish.grizzly.http.ajp.AjpAddOn.isTomcatAuthentication:Z
1: aload 0
aload 2
putfield org.glassfish.grizzly.http.ajp.AjpAddOn.secret:Ljava/lang/String;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
0 3 1 isTomcatAuthentication Z
0 3 2 secret Ljava/lang/String;
MethodParameters:
Name Flags
isTomcatAuthentication final
secret final
public void configure(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "request.useSecret"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
invokestatic java.lang.Math.random:()D
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
putfield org.glassfish.grizzly.http.ajp.AjpAddOn.secret:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "request.secret"
aload 0
getfield org.glassfish.grizzly.http.ajp.AjpAddOn.secret:Ljava/lang/String;
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield org.glassfish.grizzly.http.ajp.AjpAddOn.secret:Ljava/lang/String;
3: aload 0
aload 1
ldc "tomcatAuthentication"
ldc "true"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putfield org.glassfish.grizzly.http.ajp.AjpAddOn.isTomcatAuthentication:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
0 5 1 properties Ljava/util/Properties;
MethodParameters:
Name Flags
properties final
public boolean isTomcatAuthentication();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.ajp.AjpAddOn.isTomcatAuthentication:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
public java.lang.String getSecret();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.ajp.AjpAddOn.secret:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
public void setup(org.glassfish.grizzly.http.server.NetworkListener, org.glassfish.grizzly.filterchain.FilterChainBuilder);
descriptor: (Lorg/glassfish/grizzly/http/server/NetworkListener;Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc Lorg/glassfish/grizzly/http/HttpCodecFilter;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.indexOfType:(Ljava/lang/Class;)I
istore 3
start local 3 1: aload 2
ldc Lorg/glassfish/grizzly/http/server/HttpServerFilter;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.indexOfType:(Ljava/lang/Class;)I
istore 4
start local 4 2: iload 3
iflt 6
3: aload 2
iload 3
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.remove:(I)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
4: iload 3
istore 5
start local 5 5: goto 7
end local 5 6: StackMap locals: int int
StackMap stack:
iload 4
istore 5
start local 5 7: StackMap locals: int
StackMap stack:
iload 5
iflt 13
8: aload 2
iload 5
aload 0
invokevirtual org.glassfish.grizzly.http.ajp.AjpAddOn.createAjpMessageFilter:()Lorg/glassfish/grizzly/http/ajp/AjpMessageFilter;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(ILorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
9: aload 0
invokevirtual org.glassfish.grizzly.http.ajp.AjpAddOn.createAjpHandlerFilter:()Lorg/glassfish/grizzly/http/ajp/AjpHandlerFilter;
astore 6
start local 6 10: aload 6
aload 0
getfield org.glassfish.grizzly.http.ajp.AjpAddOn.secret:Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.ajp.AjpHandlerFilter.setSecret:(Ljava/lang/String;)V
11: aload 6
aload 0
getfield org.glassfish.grizzly.http.ajp.AjpAddOn.isTomcatAuthentication:Z
invokevirtual org.glassfish.grizzly.http.ajp.AjpHandlerFilter.setTomcatAuthentication:(Z)V
12: aload 2
iload 5
iconst_1
iadd
aload 6
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(ILorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
end local 6 13: StackMap locals:
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 14 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
0 14 1 networkListener Lorg/glassfish/grizzly/http/server/NetworkListener;
0 14 2 builder Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
1 14 3 httpCodecFilterIdx I
2 14 4 httpServerFilterIdx I
5 6 5 idx I
7 14 5 idx I
10 13 6 ajpHandlerFilter Lorg/glassfish/grizzly/http/ajp/AjpHandlerFilter;
MethodParameters:
Name Flags
networkListener final
builder final
protected org.glassfish.grizzly.http.ajp.AjpHandlerFilter createAjpHandlerFilter();
descriptor: ()Lorg/glassfish/grizzly/http/ajp/AjpHandlerFilter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.glassfish.grizzly.http.ajp.AjpHandlerFilter
dup
invokespecial org.glassfish.grizzly.http.ajp.AjpHandlerFilter.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
protected org.glassfish.grizzly.http.ajp.AjpMessageFilter createAjpMessageFilter();
descriptor: ()Lorg/glassfish/grizzly/http/ajp/AjpMessageFilter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.glassfish.grizzly.http.ajp.AjpMessageFilter
dup
invokespecial org.glassfish.grizzly.http.ajp.AjpMessageFilter.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/ajp/AjpAddOn;
}
SourceFile: "AjpAddOn.java"