public class io.dropwizard.servlets.assets.AssetServlet extends javax.servlet.http.HttpServlet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.servlets.assets.AssetServlet
super_class: javax.servlet.http.HttpServlet
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6393345594784987908
private static final java.lang.String IF_MODIFIED_SINCE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "If-Modified-Since"
private static final java.lang.String IF_NONE_MATCH;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "If-None-Match"
private static final java.lang.String IF_RANGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "If-Range"
private static final java.lang.String RANGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Range"
private static final java.lang.String ACCEPT_RANGES;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Accept-Ranges"
private static final java.lang.String CONTENT_RANGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Content-Range"
private static final java.lang.String ETAG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ETag"
private static final java.lang.String LAST_MODIFIED;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Last-Modified"
private static final java.lang.String DEFAULT_MEDIA_TYPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "text/html"
private final java.lang.String resourcePath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String uriPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String indexFile;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private final java.lang.String defaultMediaType;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.charset.Charset defaultCharset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
ldc "text/html"
aload 4
invokespecial io.dropwizard.servlets.assets.AssetServlet.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/servlets/assets/AssetServlet;
0 2 1 resourcePath Ljava/lang/String;
0 2 2 uriPath Ljava/lang/String;
0 2 3 indexFile Ljava/lang/String;
0 2 4 defaultCharset Ljava/nio/charset/Charset;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
javax.annotation.Nullable()
3:
javax.annotation.Nullable()
MethodParameters:
Name Flags
resourcePath
uriPath
indexFile
defaultCharset
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial javax.servlet.http.HttpServlet.<init>:()V
1: aload 1
invokestatic io.dropwizard.servlets.assets.AssetServlet.trimSlashes:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 2: aload 0
aload 6
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
aload 6
goto 4
StackMap locals: io.dropwizard.servlets.assets.AssetServlet java.lang.String java.lang.String java.lang.String java.lang.String java.nio.charset.Charset java.lang.String
StackMap stack: io.dropwizard.servlets.assets.AssetServlet
3: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: io.dropwizard.servlets.assets.AssetServlet java.lang.String java.lang.String java.lang.String java.lang.String java.nio.charset.Charset java.lang.String
StackMap stack: io.dropwizard.servlets.assets.AssetServlet java.lang.String
4: putfield io.dropwizard.servlets.assets.AssetServlet.resourcePath:Ljava/lang/String;
5: aload 2
invokestatic io.dropwizard.servlets.assets.AssetServlet.trimTrailingSlashes:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 6: aload 0
aload 7
invokevirtual java.lang.String.isEmpty:()Z
ifeq 7
ldc "/"
goto 8
StackMap locals: io.dropwizard.servlets.assets.AssetServlet java.lang.String java.lang.String java.lang.String java.lang.String java.nio.charset.Charset java.lang.String java.lang.String
StackMap stack: io.dropwizard.servlets.assets.AssetServlet
7: aload 7
StackMap locals: io.dropwizard.servlets.assets.AssetServlet java.lang.String java.lang.String java.lang.String java.lang.String java.nio.charset.Charset java.lang.String java.lang.String
StackMap stack: io.dropwizard.servlets.assets.AssetServlet java.lang.String
8: putfield io.dropwizard.servlets.assets.AssetServlet.uriPath:Ljava/lang/String;
9: aload 0
aload 3
putfield io.dropwizard.servlets.assets.AssetServlet.indexFile:Ljava/lang/String;
10: aload 0
aload 4
ifnonnull 11
ldc "text/html"
goto 12
StackMap locals:
StackMap stack: io.dropwizard.servlets.assets.AssetServlet
11: aload 4
StackMap locals: io.dropwizard.servlets.assets.AssetServlet java.lang.String java.lang.String java.lang.String java.lang.String java.nio.charset.Charset java.lang.String java.lang.String
StackMap stack: io.dropwizard.servlets.assets.AssetServlet java.lang.String
12: putfield io.dropwizard.servlets.assets.AssetServlet.defaultMediaType:Ljava/lang/String;
13: aload 0
aload 5
putfield io.dropwizard.servlets.assets.AssetServlet.defaultCharset:Ljava/nio/charset/Charset;
14: return
end local 7 end local 6 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 15 0 this Lio/dropwizard/servlets/assets/AssetServlet;
0 15 1 resourcePath Ljava/lang/String;
0 15 2 uriPath Ljava/lang/String;
0 15 3 indexFile Ljava/lang/String;
0 15 4 defaultMediaType Ljava/lang/String;
0 15 5 defaultCharset Ljava/nio/charset/Charset;
2 15 6 trimmedPath Ljava/lang/String;
6 15 7 trimmedUri Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
javax.annotation.Nullable()
3:
javax.annotation.Nullable()
4:
javax.annotation.Nullable()
MethodParameters:
Name Flags
resourcePath
uriPath
indexFile
defaultMediaType
defaultCharset
private static java.lang.String trimSlashes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc "^/*(.*?)/*$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: aload 1
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 3
2: aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
areturn
3: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
1 4 1 matcher Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
s
private static java.lang.String trimTrailingSlashes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc "(.*?)/*$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: aload 1
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 3
2: aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
areturn
3: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
1 4 1 matcher Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
s
public java.net.URL getResourceURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.resourcePath:Ljava/lang/String;
invokestatic io.dropwizard.util.Resources.getResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
public java.lang.String getUriPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.uriPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
public java.lang.String getIndexFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.indexFile:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public java.lang.String getDefaultMediaType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.defaultMediaType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
public java.nio.charset.Charset getDefaultCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.defaultCharset:Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
protected void doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getServletContext() is undefined for the type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
Exceptions:
throws javax.servlet.ServletException, java.io.IOException
MethodParameters:
Name Flags
req
resp
private io.dropwizard.servlets.assets.AssetServlet$CachedAsset loadAsset(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/dropwizard/servlets/assets/AssetServlet$CachedAsset;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.uriPath:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cache key must start with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.uriPath:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.uriPath:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic io.dropwizard.servlets.assets.AssetServlet.trimSlashes:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: new java.lang.StringBuilder
dup
aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.resourcePath:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.dropwizard.servlets.assets.AssetServlet.trimSlashes:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: aload 0
aload 3
invokevirtual io.dropwizard.servlets.assets.AssetServlet.getResourceUrl:(Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 5: aload 4
invokestatic io.dropwizard.servlets.assets.ResourceURL.isDirectory:(Ljava/net/URL;)Z
ifeq 10
6: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.indexFile:Ljava/lang/String;
ifnull 9
7: aload 0
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield io.dropwizard.servlets.assets.AssetServlet.indexFile:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.dropwizard.servlets.assets.AssetServlet.getResourceUrl:(Ljava/lang/String;)Ljava/net/URL;
astore 4
8: goto 10
9: StackMap locals: java.lang.String java.lang.String java.net.URL
StackMap stack:
aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 4
invokestatic io.dropwizard.servlets.assets.ResourceURL.getLastModified:(Ljava/net/URL;)J
lstore 5
start local 5 11: lload 5
lconst_1
lcmp
ifge 13
12: invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
13: StackMap locals: long
StackMap stack:
lload 5
ldc 1000
ldiv
ldc 1000
lmul
lstore 5
14: new io.dropwizard.servlets.assets.AssetServlet$CachedAsset
dup
aload 0
aload 4
invokevirtual io.dropwizard.servlets.assets.AssetServlet.readResource:(Ljava/net/URL;)[B
lload 5
invokespecial io.dropwizard.servlets.assets.AssetServlet$CachedAsset.<init>:([BJ)V
areturn
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 15 0 this Lio/dropwizard/servlets/assets/AssetServlet;
0 15 1 key Ljava/lang/String;
3 15 2 requestedResourcePath Ljava/lang/String;
4 15 3 absoluteRequestedResourcePath Ljava/lang/String;
5 15 4 requestedResourceURL Ljava/net/URL;
11 15 5 lastModified J
Exceptions:
throws java.net.URISyntaxException, java.io.IOException
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
MethodParameters:
Name Flags
key
protected java.net.URL getResourceUrl(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.dropwizard.util.Resources.getResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
0 1 1 absoluteRequestedResourcePath Ljava/lang/String;
MethodParameters:
Name Flags
absoluteRequestedResourcePath
protected byte[] readResource(java.net.URL);
descriptor: (Ljava/net/URL;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.dropwizard.util.Resources.toByteArray:(Ljava/net/URL;)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet;
0 1 1 requestedResourceURL Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
requestedResourceURL
private boolean isCachedClientSide(javax.servlet.http.HttpServletRequest, io.dropwizard.servlets.assets.AssetServlet$CachedAsset);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Lio/dropwizard/servlets/assets/AssetServlet$CachedAsset;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual io.dropwizard.servlets.assets.AssetServlet$CachedAsset.getETag:()Ljava/lang/String;
aload 1
ldc "If-None-Match"
invokeinterface javax.servlet.http.HttpServletRequest.getHeader:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
1: aload 1
ldc "If-Modified-Since"
invokeinterface javax.servlet.http.HttpServletRequest.getDateHeader:(Ljava/lang/String;)J
aload 2
invokevirtual io.dropwizard.servlets.assets.AssetServlet$CachedAsset.getLastModifiedTime:()J
2: lcmp
ifge 3
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/servlets/assets/AssetServlet;
0 4 1 req Ljavax/servlet/http/HttpServletRequest;
0 4 2 cachedAsset Lio/dropwizard/servlets/assets/AssetServlet$CachedAsset;
MethodParameters:
Name Flags
req
cachedAsset
private java.util.List<io.dropwizard.servlets.assets.ByteRange> parseRangeHeader(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "="
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 11
1: aload 1
ldc "="
iconst_m1
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 4
start local 4 2: aload 4
arraylength
iconst_1
if_icmple 9
3: aload 4
iconst_1
aaload
ldc ","
iconst_m1
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
4: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/lang/String.trim()Ljava/lang/String; (5)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: iload 2
invokedynamic apply(I)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/dropwizard/servlets/assets/AssetServlet.lambda$2(ILjava/lang/String;)Lio/dropwizard/servlets/assets/ByteRange; (6)
(Ljava/lang/String;)Lio/dropwizard/servlets/assets/ByteRange;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
6: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
7: astore 3
start local 3 8: goto 12
end local 3 9: StackMap locals: io.dropwizard.servlets.assets.AssetServlet java.lang.String int top java.lang.String[]
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 3
end local 4 start local 3 10: goto 12
end local 3 11: StackMap locals: io.dropwizard.servlets.assets.AssetServlet java.lang.String int
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 3
start local 3 12: StackMap locals: java.util.List
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/dropwizard/servlets/assets/AssetServlet;
0 13 1 rangeHeader Ljava/lang/String;
0 13 2 resourceLength I
8 9 3 byteRanges Ljava/util/List<Lio/dropwizard/servlets/assets/ByteRange;>;
10 11 3 byteRanges Ljava/util/List<Lio/dropwizard/servlets/assets/ByteRange;>;
12 13 3 byteRanges Ljava/util/List<Lio/dropwizard/servlets/assets/ByteRange;>;
2 10 4 parts [Ljava/lang/String;
Signature: (Ljava/lang/String;I)Ljava/util/List<Lio/dropwizard/servlets/assets/ByteRange;>;
MethodParameters:
Name Flags
rangeHeader final
resourceLength final
private static io.dropwizard.servlets.assets.ByteRange lambda$2(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lio/dropwizard/servlets/assets/ByteRange;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
iload 0
invokestatic io.dropwizard.servlets.assets.ByteRange.parse:(Ljava/lang/String;I)Lio/dropwizard/servlets/assets/ByteRange;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 s Ljava/lang/String;
}
SourceFile: "AssetServlet.java"
NestMembers:
io.dropwizard.servlets.assets.AssetServlet$CachedAsset
InnerClasses:
private CachedAsset = io.dropwizard.servlets.assets.AssetServlet$CachedAsset of io.dropwizard.servlets.assets.AssetServlet
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles