class sun.net.httpserver.HttpContextImpl extends com.sun.net.httpserver.HttpContext
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.httpserver.HttpContextImpl
super_class: com.sun.net.httpserver.HttpContext
{
private java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.net.httpserver.HttpHandler handler;
descriptor: Lcom/sun/net/httpserver/HttpHandler;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.Object> attributes;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private sun.net.httpserver.ServerImpl server;
descriptor: Lsun/net/httpserver/ServerImpl;
flags: (0x0002) ACC_PRIVATE
private java.util.LinkedList<com.sun.net.httpserver.Filter> sfilters;
descriptor: Ljava/util/LinkedList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/LinkedList<Lcom/sun/net/httpserver/Filter;>;
private java.util.LinkedList<com.sun.net.httpserver.Filter> ufilters;
descriptor: Ljava/util/LinkedList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/LinkedList<Lcom/sun/net/httpserver/Filter;>;
private com.sun.net.httpserver.Authenticator authenticator;
descriptor: Lcom/sun/net/httpserver/Authenticator;
flags: (0x0002) ACC_PRIVATE
private sun.net.httpserver.AuthFilter authfilter;
descriptor: Lsun/net/httpserver/AuthFilter;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, java.lang.String, com.sun.net.httpserver.HttpHandler, sun.net.httpserver.ServerImpl);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/sun/net/httpserver/HttpHandler;Lsun/net/httpserver/ServerImpl;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial com.sun.net.httpserver.HttpContext.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.net.httpserver.HttpContextImpl.attributes:Ljava/util/Map;
2: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.net.httpserver.HttpContextImpl.sfilters:Ljava/util/LinkedList;
3: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.net.httpserver.HttpContextImpl.ufilters:Ljava/util/LinkedList;
4: aload 2
ifnull 5
aload 1
ifnull 5
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
if_icmplt 5
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 6
5: StackMap locals: sun.net.httpserver.HttpContextImpl java.lang.String java.lang.String com.sun.net.httpserver.HttpHandler sun.net.httpserver.ServerImpl
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Illegal value for path or protocol"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
putfield sun.net.httpserver.HttpContextImpl.protocol:Ljava/lang/String;
7: aload 0
aload 2
putfield sun.net.httpserver.HttpContextImpl.path:Ljava/lang/String;
8: aload 0
getfield sun.net.httpserver.HttpContextImpl.protocol:Ljava/lang/String;
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
aload 0
getfield sun.net.httpserver.HttpContextImpl.protocol:Ljava/lang/String;
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
9: new java.lang.IllegalArgumentException
dup
ldc "Illegal value for protocol"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.net.httpserver.HttpContextImpl.handler:Lcom/sun/net/httpserver/HttpHandler;
11: aload 0
aload 4
putfield sun.net.httpserver.HttpContextImpl.server:Lsun/net/httpserver/ServerImpl;
12: aload 0
new sun.net.httpserver.AuthFilter
dup
aconst_null
invokespecial sun.net.httpserver.AuthFilter.<init>:(Lcom/sun/net/httpserver/Authenticator;)V
putfield sun.net.httpserver.HttpContextImpl.authfilter:Lsun/net/httpserver/AuthFilter;
13: aload 0
getfield sun.net.httpserver.HttpContextImpl.sfilters:Ljava/util/LinkedList;
aload 0
getfield sun.net.httpserver.HttpContextImpl.authfilter:Lsun/net/httpserver/AuthFilter;
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/net/httpserver/HttpContextImpl;
0 15 1 protocol Ljava/lang/String;
0 15 2 path Ljava/lang/String;
0 15 3 cb Lcom/sun/net/httpserver/HttpHandler;
0 15 4 server Lsun/net/httpserver/ServerImpl;
MethodParameters:
Name Flags
protocol
path
cb
server
public com.sun.net.httpserver.HttpHandler getHandler();
descriptor: ()Lcom/sun/net/httpserver/HttpHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.handler:Lcom/sun/net/httpserver/HttpHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
public void setHandler(com.sun.net.httpserver.HttpHandler);
descriptor: (Lcom/sun/net/httpserver/HttpHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null handler parameter"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.HttpContextImpl.handler:Lcom/sun/net/httpserver/HttpHandler;
ifnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "handler already set"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.net.httpserver.HttpContextImpl.handler:Lcom/sun/net/httpserver/HttpHandler;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/httpserver/HttpContextImpl;
0 6 1 h Lcom/sun/net/httpserver/HttpHandler;
MethodParameters:
Name Flags
h
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
public com.sun.net.httpserver.HttpServer getServer();
descriptor: ()Lcom/sun/net/httpserver/HttpServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.server:Lsun/net/httpserver/ServerImpl;
invokevirtual sun.net.httpserver.ServerImpl.getWrapper:()Lcom/sun/net/httpserver/HttpServer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
sun.net.httpserver.ServerImpl getServerImpl();
descriptor: ()Lsun/net/httpserver/ServerImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.server:Lsun/net/httpserver/ServerImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
public java.lang.String getProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.protocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
public java.util.Map<java.lang.String, java.lang.Object> getAttributes();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.attributes:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public java.util.List<com.sun.net.httpserver.Filter> getFilters();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.ufilters:Ljava/util/LinkedList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
Signature: ()Ljava/util/List<Lcom/sun/net/httpserver/Filter;>;
java.util.List<com.sun.net.httpserver.Filter> getSystemFilters();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.sfilters:Ljava/util/LinkedList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
Signature: ()Ljava/util/List<Lcom/sun/net/httpserver/Filter;>;
public com.sun.net.httpserver.Authenticator setAuthenticator(com.sun.net.httpserver.Authenticator);
descriptor: (Lcom/sun/net/httpserver/Authenticator;)Lcom/sun/net/httpserver/Authenticator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.authenticator:Lcom/sun/net/httpserver/Authenticator;
astore 2
start local 2 1: aload 0
aload 1
putfield sun.net.httpserver.HttpContextImpl.authenticator:Lcom/sun/net/httpserver/Authenticator;
2: aload 0
getfield sun.net.httpserver.HttpContextImpl.authfilter:Lsun/net/httpserver/AuthFilter;
aload 1
invokevirtual sun.net.httpserver.AuthFilter.setAuthenticator:(Lcom/sun/net/httpserver/Authenticator;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/httpserver/HttpContextImpl;
0 4 1 auth Lcom/sun/net/httpserver/Authenticator;
1 4 2 old Lcom/sun/net/httpserver/Authenticator;
MethodParameters:
Name Flags
auth
public com.sun.net.httpserver.Authenticator getAuthenticator();
descriptor: ()Lcom/sun/net/httpserver/Authenticator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.authenticator:Lcom/sun/net/httpserver/Authenticator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
java.lang.System$Logger getLogger();
descriptor: ()Ljava/lang/System$Logger;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.HttpContextImpl.server:Lsun/net/httpserver/ServerImpl;
invokevirtual sun.net.httpserver.ServerImpl.getLogger:()Ljava/lang/System$Logger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/HttpContextImpl;
}
SourceFile: "HttpContextImpl.java"
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System