public class org.eclipse.jetty.server.handler.InetAccessHandler extends org.eclipse.jetty.server.handler.HandlerWrapper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.handler.InetAccessHandler
super_class: org.eclipse.jetty.server.handler.HandlerWrapper
{
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.IncludeExcludeSet<java.lang.String, java.net.InetAddress> _addrs;
descriptor: Lorg/eclipse/jetty/util/IncludeExcludeSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/jetty/util/IncludeExcludeSet<Ljava/lang/String;Ljava/net/InetAddress;>;
private final org.eclipse.jetty.util.IncludeExclude<java.lang.String> _names;
descriptor: Lorg/eclipse/jetty/util/IncludeExclude;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/jetty/util/IncludeExclude<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/handler/InetAccessHandler;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.server.handler.InetAccessHandler.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=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.server.handler.HandlerWrapper.<init>:()V
1: aload 0
new org.eclipse.jetty.util.IncludeExcludeSet
dup
ldc Lorg/eclipse/jetty/util/InetAddressSet;
invokespecial org.eclipse.jetty.util.IncludeExcludeSet.<init>:(Ljava/lang/Class;)V
putfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
2: aload 0
new org.eclipse.jetty.util.IncludeExclude
dup
invokespecial org.eclipse.jetty.util.IncludeExclude.<init>:()V
putfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.clear:()V
1: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
invokevirtual org.eclipse.jetty.util.IncludeExclude.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
public void include(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.include:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public void include(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.include:([Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 patterns [Ljava/lang/String;
MethodParameters:
Name Flags
patterns
public void exclude(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.exclude:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public void exclude(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.exclude:([Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 patterns [Ljava/lang/String;
MethodParameters:
Name Flags
patterns
public void includeConnector(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExclude.include:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void excludeConnector(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExclude.exclude:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void includeConnectors(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExclude.include:([Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 names [Ljava/lang/String;
MethodParameters:
Name Flags
names
public void excludeConnectors(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExclude.exclude:([Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 2 1 names [Ljava/lang/String;
MethodParameters:
Name Flags
names
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=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual org.eclipse.jetty.server.Request.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
astore 5
start local 5 1: aload 5
ifnull 9
2: aload 5
invokevirtual org.eclipse.jetty.server.HttpChannel.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
astore 6
start local 6 3: aload 6
ifnull 9
4: aload 6
invokeinterface org.eclipse.jetty.io.EndPoint.getRemoteAddress:()Ljava/net/InetSocketAddress;
astore 7
start local 7 5: aload 7
ifnull 9
aload 0
aload 7
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aload 2
aload 3
invokevirtual org.eclipse.jetty.server.handler.InetAccessHandler.isAllowed:(Ljava/net/InetAddress;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;)Z
ifne 9
6: aload 4
sipush 403
invokeinterface javax.servlet.http.HttpServletResponse.sendError:(I)V
7: aload 2
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
8: return
end local 7 end local 6 9: StackMap locals: org.eclipse.jetty.server.HttpChannel
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.handler.InetAccessHandler.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
10: 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 11 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 11 1 target Ljava/lang/String;
0 11 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 11 3 request Ljavax/servlet/http/HttpServletRequest;
0 11 4 response Ljavax/servlet/http/HttpServletResponse;
1 11 5 channel Lorg/eclipse/jetty/server/HttpChannel;
3 9 6 endp Lorg/eclipse/jetty/io/EndPoint;
5 9 7 address Ljava/net/InetSocketAddress;
Exceptions:
throws java.io.IOException, javax.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
protected boolean isAllowed(java.net.InetAddress, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest);
descriptor: (Ljava/net/InetAddress;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.eclipse.jetty.server.Request.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getConnector:()Lorg/eclipse/jetty/server/Connector;
invokeinterface org.eclipse.jetty.server.Connector.getName:()Ljava/lang/String;
astore 4
start local 4 1: getstatic org.eclipse.jetty.server.handler.InetAccessHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 5
2: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
aload 4
invokevirtual org.eclipse.jetty.util.IncludeExclude.isIncludedAndNotExcluded:(Ljava/lang/Object;)Ljava/lang/Boolean;
astore 5
start local 5 3: aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.isIncludedAndNotExcluded:(Ljava/lang/Object;)Ljava/lang/Boolean;
astore 6
start local 6 4: getstatic org.eclipse.jetty.server.handler.InetAccessHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} allowedByName={} allowedByAddr={} for {}/{}"
iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 6
aastore
dup
iconst_3
aload 1
aastore
dup
iconst_4
aload 3
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 6 end local 5 5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
aload 4
invokevirtual org.eclipse.jetty.util.IncludeExclude.test:(Ljava/lang/Object;)Z
ifeq 6
aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
aload 1
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.test:(Ljava/lang/Object;)Z
ifeq 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 7 1 addr Ljava/net/InetAddress;
0 7 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 7 3 request Ljavax/servlet/http/HttpServletRequest;
1 7 4 name Ljava/lang/String;
3 5 5 allowedByName Ljava/lang/Boolean;
4 5 6 allowedByAddr Ljava/lang/Boolean;
MethodParameters:
Name Flags
addr
baseRequest
request
public void dump(java.lang.Appendable, java.lang.String);
descriptor: (Ljava/lang/Appendable;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_4
anewarray java.lang.Object
dup
iconst_0
1: new org.eclipse.jetty.util.component.DumpableCollection
dup
ldc "included"
aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.getIncluded:()Ljava/util/Set;
invokespecial org.eclipse.jetty.util.component.DumpableCollection.<init>:(Ljava/lang/String;Ljava/util/Collection;)V
aastore
dup
iconst_1
2: new org.eclipse.jetty.util.component.DumpableCollection
dup
ldc "excluded"
aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._addrs:Lorg/eclipse/jetty/util/IncludeExcludeSet;
invokevirtual org.eclipse.jetty.util.IncludeExcludeSet.getExcluded:()Ljava/util/Set;
invokespecial org.eclipse.jetty.util.component.DumpableCollection.<init>:(Ljava/lang/String;Ljava/util/Collection;)V
aastore
dup
iconst_2
3: new org.eclipse.jetty.util.component.DumpableCollection
dup
ldc "includedConnector"
aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
invokevirtual org.eclipse.jetty.util.IncludeExclude.getIncluded:()Ljava/util/Set;
invokespecial org.eclipse.jetty.util.component.DumpableCollection.<init>:(Ljava/lang/String;Ljava/util/Collection;)V
aastore
dup
iconst_3
4: new org.eclipse.jetty.util.component.DumpableCollection
dup
ldc "excludedConnector"
aload 0
getfield org.eclipse.jetty.server.handler.InetAccessHandler._names:Lorg/eclipse/jetty/util/IncludeExclude;
invokevirtual org.eclipse.jetty.util.IncludeExclude.getExcluded:()Ljava/util/Set;
invokespecial org.eclipse.jetty.util.component.DumpableCollection.<init>:(Ljava/lang/String;Ljava/util/Collection;)V
aastore
5: invokevirtual org.eclipse.jetty.server.handler.InetAccessHandler.dumpObjects:(Ljava/lang/Appendable;Ljava/lang/String;[Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/handler/InetAccessHandler;
0 7 1 out Ljava/lang/Appendable;
0 7 2 indent Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
indent
}
SourceFile: "InetAccessHandler.java"