public class org.eclipse.jetty.server.handler.ResourceHandler extends org.eclipse.jetty.server.handler.HandlerWrapper implements org.eclipse.jetty.util.resource.ResourceFactory, org.eclipse.jetty.server.ResourceService$WelcomeFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.handler.ResourceHandler
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
org.eclipse.jetty.util.resource.Resource _baseResource;
descriptor: Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0000)
org.eclipse.jetty.server.handler.ContextHandler _context;
descriptor: Lorg/eclipse/jetty/server/handler/ContextHandler;
flags: (0x0000)
org.eclipse.jetty.util.resource.Resource _defaultStylesheet;
descriptor: Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0000)
org.eclipse.jetty.http.MimeTypes _mimeTypes;
descriptor: Lorg/eclipse/jetty/http/MimeTypes;
flags: (0x0000)
private final org.eclipse.jetty.server.ResourceService _resourceService;
descriptor: Lorg/eclipse/jetty/server/ResourceService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
org.eclipse.jetty.util.resource.Resource _stylesheet;
descriptor: Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0000)
java.lang.String[] _welcomes;
descriptor: [Ljava/lang/String;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/handler/ResourceHandler;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.eclipse.jetty.server.ResourceService);
descriptor: (Lorg/eclipse/jetty/server/ResourceService;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.server.handler.HandlerWrapper.<init>:()V
1: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "index.html"
aastore
putfield org.eclipse.jetty.server.handler.ResourceHandler._welcomes:[Ljava/lang/String;
2: aload 0
aload 1
putfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 4 1 resourceService Lorg/eclipse/jetty/server/ResourceService;
MethodParameters:
Name Flags
resourceService
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
new org.eclipse.jetty.server.handler.ResourceHandler$1
dup
invokespecial org.eclipse.jetty.server.handler.ResourceHandler$1.<init>:()V
invokespecial org.eclipse.jetty.server.handler.ResourceHandler.<init>:(Lorg/eclipse/jetty/server/ResourceService;)V
1: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
new java.util.ArrayList
dup
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc ".svgz"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokevirtual org.eclipse.jetty.server.ResourceService.setGzipEquivalentFileExtensions:(Ljava/util/List;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public java.lang.String getWelcomeFile(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._welcomes:[Ljava/lang/String;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._welcomes:[Ljava/lang/String;
iload 2
aaload
invokestatic org.eclipse.jetty.util.URIUtil.addPaths:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 5: aload 0
aload 3
invokevirtual org.eclipse.jetty.server.handler.ResourceHandler.getResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 4
start local 4 6: aload 4
ifnull 8
aload 4
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifeq 8
7: aload 3
areturn
end local 4 end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._welcomes:[Ljava/lang/String;
arraylength
if_icmplt 4
end local 2 10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 11 1 pathInContext Ljava/lang/String;
3 10 2 i I
5 8 3 welcomeInContext Ljava/lang/String;
6 8 4 welcome Lorg/eclipse/jetty/util/resource/Resource;
MethodParameters:
Name Flags
pathInContext
public void doStart();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: invokestatic org.eclipse.jetty.server.handler.ContextHandler.getCurrentContext:()Lorg/eclipse/jetty/server/handler/ContextHandler$Context;
astore 1
start local 1 1: aload 0
aload 1
ifnonnull 2
aconst_null
goto 3
StackMap locals: org.eclipse.jetty.server.handler.ResourceHandler org.eclipse.jetty.server.handler.ContextHandler$Context
StackMap stack: org.eclipse.jetty.server.handler.ResourceHandler
2: aload 1
invokevirtual org.eclipse.jetty.server.handler.ContextHandler$Context.getContextHandler:()Lorg/eclipse/jetty/server/handler/ContextHandler;
StackMap locals: org.eclipse.jetty.server.handler.ResourceHandler org.eclipse.jetty.server.handler.ContextHandler$Context
StackMap stack: org.eclipse.jetty.server.handler.ResourceHandler org.eclipse.jetty.server.handler.ContextHandler
3: putfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
4: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._mimeTypes:Lorg/eclipse/jetty/http/MimeTypes;
ifnonnull 8
5: aload 0
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
ifnonnull 6
new org.eclipse.jetty.http.MimeTypes
dup
invokespecial org.eclipse.jetty.http.MimeTypes.<init>:()V
goto 7
StackMap locals:
StackMap stack: org.eclipse.jetty.server.handler.ResourceHandler
6: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
invokevirtual org.eclipse.jetty.server.handler.ContextHandler.getMimeTypes:()Lorg/eclipse/jetty/http/MimeTypes;
StackMap locals: org.eclipse.jetty.server.handler.ResourceHandler org.eclipse.jetty.server.handler.ContextHandler$Context
StackMap stack: org.eclipse.jetty.server.handler.ResourceHandler org.eclipse.jetty.http.MimeTypes
7: putfield org.eclipse.jetty.server.handler.ResourceHandler._mimeTypes:Lorg/eclipse/jetty/http/MimeTypes;
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
new org.eclipse.jetty.server.ResourceContentFactory
dup
aload 0
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._mimeTypes:Lorg/eclipse/jetty/http/MimeTypes;
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.getPrecompressedFormats:()[Lorg/eclipse/jetty/http/CompressedContentFormat;
invokespecial org.eclipse.jetty.server.ResourceContentFactory.<init>:(Lorg/eclipse/jetty/util/resource/ResourceFactory;Lorg/eclipse/jetty/http/MimeTypes;[Lorg/eclipse/jetty/http/CompressedContentFormat;)V
invokevirtual org.eclipse.jetty.server.ResourceService.setContentFactory:(Lorg/eclipse/jetty/http/HttpContent$ContentFactory;)V
9: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
aload 0
invokevirtual org.eclipse.jetty.server.ResourceService.setWelcomeFactory:(Lorg/eclipse/jetty/server/ResourceService$WelcomeFactory;)V
10: aload 0
invokespecial org.eclipse.jetty.server.handler.HandlerWrapper.doStart:()V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
1 12 1 scontext Lorg/eclipse/jetty/server/handler/ContextHandler$Context;
Exceptions:
throws java.lang.Exception
public org.eclipse.jetty.util.resource.Resource getBaseResource();
descriptor: ()Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public java.lang.String getCacheControl();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.getCacheControl:()Lorg/eclipse/jetty/http/HttpField;
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public java.util.List<java.lang.String> getGzipEquivalentFileExtensions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.getGzipEquivalentFileExtensions:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public org.eclipse.jetty.http.MimeTypes getMimeTypes();
descriptor: ()Lorg/eclipse/jetty/http/MimeTypes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._mimeTypes:Lorg/eclipse/jetty/http/MimeTypes;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public org.eclipse.jetty.util.resource.Resource getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 4
1: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} getResource({})"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
ifnonnull 2
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
goto 3
StackMap locals: org.eclipse.jetty.server.handler.ResourceHandler java.lang.String
StackMap stack: org.eclipse.jetty.util.log.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
2: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
StackMap locals: org.eclipse.jetty.server.handler.ResourceHandler java.lang.String
StackMap stack: org.eclipse.jetty.util.log.Logger java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.Object
3: aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
aastore
dup
iconst_2
aload 1
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 6
5: StackMap locals:
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 7: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
ifnull 14
8: aload 1
invokestatic org.eclipse.jetty.util.URIUtil.canonicalPath:(Ljava/lang/String;)Ljava/lang/String;
astore 1
9: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.addPath:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 2
10: aload 2
ifnull 16
aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.isAlias:()Z
ifeq 16
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
ifnull 11
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
aload 1
aload 2
invokevirtual org.eclipse.jetty.server.handler.ContextHandler.checkAlias:(Ljava/lang/String;Lorg/eclipse/jetty/util/resource/Resource;)Z
ifne 16
11: StackMap locals: org.eclipse.jetty.util.resource.Resource
StackMap stack:
getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 13
12: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "resource={} alias={}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.getAlias:()Ljava/net/URI;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aconst_null
areturn
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
ifnull 16
15: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._context:Lorg/eclipse/jetty/server/handler/ContextHandler;
aload 1
invokevirtual org.eclipse.jetty.server.handler.ContextHandler.getResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 2
16: StackMap locals:
StackMap stack:
aload 2
ifnull 17
aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifne 19
StackMap locals:
StackMap stack:
17: aload 1
ldc "/jetty-dir.css"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 19
18: aload 0
invokevirtual org.eclipse.jetty.server.handler.ResourceHandler.getStylesheet:()Lorg/eclipse/jetty/util/resource/Resource;
astore 2
19: StackMap locals:
StackMap stack:
aload 2
20: areturn
end local 2 21: StackMap locals: org.eclipse.jetty.server.handler.ResourceHandler java.lang.String
StackMap stack: java.lang.Exception
astore 2
start local 2 22: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
end local 2 23: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 24 1 path Ljava/lang/String;
7 21 2 r Lorg/eclipse/jetty/util/resource/Resource;
22 23 2 e Ljava/lang/Exception;
Exception table:
from to target type
6 13 21 Class java.lang.Exception
14 20 21 Class java.lang.Exception
MethodParameters:
Name Flags
path
public java.lang.String getResourceBase();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public org.eclipse.jetty.util.resource.Resource getStylesheet();
descriptor: ()Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._stylesheet:Lorg/eclipse/jetty/util/resource/Resource;
ifnull 2
1: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._stylesheet:Lorg/eclipse/jetty/util/resource/Resource;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._defaultStylesheet:Lorg/eclipse/jetty/util/resource/Resource;
ifnonnull 4
3: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "/jetty-dir.css"
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/net/URL;)Lorg/eclipse/jetty/util/resource/Resource;
putfield org.eclipse.jetty.server.handler.ResourceHandler._defaultStylesheet:Lorg/eclipse/jetty/util/resource/Resource;
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._defaultStylesheet:Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public java.lang.String[] getWelcomeFiles();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._welcomes:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
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=5, 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.isHandled:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.http.HttpMethod.GET:Lorg/eclipse/jetty/http/HttpMethod;
aload 3
invokeinterface javax.servlet.http.HttpServletRequest.getMethod:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.http.HttpMethod.is:(Ljava/lang/String;)Z
ifne 5
getstatic org.eclipse.jetty.http.HttpMethod.HEAD:Lorg/eclipse/jetty/http/HttpMethod;
aload 3
invokeinterface javax.servlet.http.HttpServletRequest.getMethod:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.http.HttpMethod.is:(Ljava/lang/String;)Z
ifne 5
3: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.eclipse.jetty.server.handler.HandlerWrapper.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
aload 3
aload 4
invokevirtual org.eclipse.jetty.server.ResourceService.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z
ifeq 7
6: aload 2
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setHandled:(Z)V
goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.eclipse.jetty.server.handler.HandlerWrapper.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
8: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 9 1 target Ljava/lang/String;
0 9 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 9 3 request Ljavax/servlet/http/HttpServletRequest;
0 9 4 response Ljavax/servlet/http/HttpServletResponse;
Exceptions:
throws java.io.IOException, javax.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
public boolean isAcceptRanges();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.isAcceptRanges:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public boolean isDirAllowed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.isDirAllowed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public boolean isDirectoriesListed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.isDirAllowed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public boolean isEtags();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.isEtags:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public org.eclipse.jetty.http.CompressedContentFormat[] getPrecompressedFormats();
descriptor: ()[Lorg/eclipse/jetty/http/CompressedContentFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.getPrecompressedFormats:()[Lorg/eclipse/jetty/http/CompressedContentFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public boolean isPathInfoOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.isPathInfoOnly:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public boolean isRedirectWelcome();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
invokevirtual org.eclipse.jetty.server.ResourceService.isRedirectWelcome:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
public void setAcceptRanges(boolean);
descriptor: (Z)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
iload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setAcceptRanges:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 acceptRanges Z
MethodParameters:
Name Flags
acceptRanges
public void setBaseResource(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jetty.server.handler.ResourceHandler._baseResource:Lorg/eclipse/jetty/util/resource/Resource;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 base Lorg/eclipse/jetty/util/resource/Resource;
MethodParameters:
Name Flags
base
public void setCacheControl(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
new org.eclipse.jetty.http.PreEncodedHttpField
dup
getstatic org.eclipse.jetty.http.HttpHeader.CACHE_CONTROL:Lorg/eclipse/jetty/http/HttpHeader;
aload 1
invokespecial org.eclipse.jetty.http.PreEncodedHttpField.<init>:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)V
invokevirtual org.eclipse.jetty.server.ResourceService.setCacheControl:(Lorg/eclipse/jetty/http/HttpField;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 cacheControl Ljava/lang/String;
MethodParameters:
Name Flags
cacheControl
public void setDirAllowed(boolean);
descriptor: (Z)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
iload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setDirAllowed:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 dirAllowed Z
MethodParameters:
Name Flags
dirAllowed
public void setDirectoriesListed(boolean);
descriptor: (Z)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
iload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setDirAllowed:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 directory Z
MethodParameters:
Name Flags
directory
public void setEtags(boolean);
descriptor: (Z)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
iload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setEtags:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 etags Z
MethodParameters:
Name Flags
etags
public void setGzipEquivalentFileExtensions(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
aload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setGzipEquivalentFileExtensions:(Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 gzipEquivalentFileExtensions Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
gzipEquivalentFileExtensions
public void setPrecompressedFormats(org.eclipse.jetty.http.CompressedContentFormat[]);
descriptor: ([Lorg/eclipse/jetty/http/CompressedContentFormat;)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
aload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setPrecompressedFormats:([Lorg/eclipse/jetty/http/CompressedContentFormat;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 precompressedFormats [Lorg/eclipse/jetty/http/CompressedContentFormat;
MethodParameters:
Name Flags
precompressedFormats
public void setMimeTypes(org.eclipse.jetty.http.MimeTypes);
descriptor: (Lorg/eclipse/jetty/http/MimeTypes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jetty.server.handler.ResourceHandler._mimeTypes:Lorg/eclipse/jetty/http/MimeTypes;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 mimeTypes Lorg/eclipse/jetty/http/MimeTypes;
MethodParameters:
Name Flags
mimeTypes
public void setPathInfoOnly(boolean);
descriptor: (Z)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
iload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setPathInfoOnly:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 pathInfoOnly Z
MethodParameters:
Name Flags
pathInfoOnly
public void setRedirectWelcome(boolean);
descriptor: (Z)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.ResourceHandler._resourceService:Lorg/eclipse/jetty/server/ResourceService;
iload 1
invokevirtual org.eclipse.jetty.server.ResourceService.setRedirectWelcome:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 redirectWelcome Z
MethodParameters:
Name Flags
redirectWelcome
public void setResourceBase(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
invokevirtual org.eclipse.jetty.server.handler.ResourceHandler.setBaseResource:(Lorg/eclipse/jetty/util/resource/Resource;)V
1: goto 6
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
4: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
5: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 7 1 resourceBase Ljava/lang/String;
3 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
resourceBase
public void setStylesheet(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
putfield org.eclipse.jetty.server.handler.ResourceHandler._stylesheet:Lorg/eclipse/jetty/util/resource/Resource;
1: aload 0
getfield org.eclipse.jetty.server.handler.ResourceHandler._stylesheet:Lorg/eclipse/jetty/util/resource/Resource;
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifne 9
2: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "unable to find custom stylesheet: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
3: aload 0
aconst_null
putfield org.eclipse.jetty.server.handler.ResourceHandler._stylesheet:Lorg/eclipse/jetty/util/resource/Resource;
4: goto 9
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 6: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
7: getstatic org.eclipse.jetty.server.handler.ResourceHandler.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
8: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 10 1 stylesheet Ljava/lang/String;
6 9 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
stylesheet
public void setWelcomeFiles(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
aload 1
putfield org.eclipse.jetty.server.handler.ResourceHandler._welcomes:[Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/ResourceHandler;
0 2 1 welcomeFiles [Ljava/lang/String;
MethodParameters:
Name Flags
welcomeFiles
}
SourceFile: "ResourceHandler.java"
NestMembers:
org.eclipse.jetty.server.handler.ResourceHandler$1
InnerClasses:
public abstract ContentFactory = org.eclipse.jetty.http.HttpContent$ContentFactory of org.eclipse.jetty.http.HttpContent
public abstract WelcomeFactory = org.eclipse.jetty.server.ResourceService$WelcomeFactory of org.eclipse.jetty.server.ResourceService
public Context = org.eclipse.jetty.server.handler.ContextHandler$Context of org.eclipse.jetty.server.handler.ContextHandler
org.eclipse.jetty.server.handler.ResourceHandler$1