final class org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource extends org.springframework.core.io.AbstractResource implements org.springframework.web.servlet.resource.HttpResource
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource
super_class: org.springframework.core.io.AbstractResource
{
private final org.springframework.core.io.Resource original;
descriptor: Lorg/springframework/core/io/Resource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.io.Resource gzipped;
descriptor: Lorg/springframework/core/io/Resource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.core.io.AbstractResource.<init>:()V
1: aload 0
aload 1
putfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.original:Lorg/springframework/core/io/Resource;
2: aload 0
aload 1
new java.lang.StringBuilder
dup
aload 1
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".gz"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.springframework.core.io.Resource.createRelative:(Ljava/lang/String;)Lorg/springframework/core/io/Resource;
putfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
0 4 1 original Lorg/springframework/core/io/Resource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
original
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getInputStream:()Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
Exceptions:
throws java.io.IOException
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.exists:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
public boolean isReadable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.isReadable:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
public boolean isOpen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.isOpen:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
public boolean isFile();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.isFile:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
public java.net.URL getURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
Exceptions:
throws java.io.IOException
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getURI:()Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
Exceptions:
throws java.io.IOException
public java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getFile:()Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
Exceptions:
throws java.io.IOException
public long contentLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.contentLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
Exceptions:
throws java.io.IOException
public long lastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.lastModified:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
Exceptions:
throws java.io.IOException
public org.springframework.core.io.Resource createRelative(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/core/io/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
aload 1
invokeinterface org.springframework.core.io.Resource.createRelative:(Ljava/lang/String;)Lorg/springframework/core/io/Resource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
0 1 1 relativePath Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
relativePath
public java.lang.String getFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.original:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.gzipped:Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
public org.springframework.http.HttpHeaders ();
descriptor: ()Lorg/springframework/http/HttpHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.original:Lorg/springframework/core/io/Resource;
instanceof org.springframework.web.servlet.resource.HttpResource
ifeq 2
1: aload 0
getfield org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource.original:Lorg/springframework/core/io/Resource;
checkcast org.springframework.web.servlet.resource.HttpResource
invokeinterface org.springframework.web.servlet.resource.HttpResource.getResponseHeaders:()Lorg/springframework/http/HttpHeaders;
goto 3
StackMap locals:
StackMap stack:
2: new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
3: StackMap locals:
StackMap stack: org.springframework.http.HttpHeaders
astore 1
start local 1 4: aload 1
ldc "Content-Encoding"
ldc "gzip"
invokevirtual org.springframework.http.HttpHeaders.add:(Ljava/lang/String;Ljava/lang/String;)V
5: aload 1
ldc "Vary"
ldc "Accept-Encoding"
invokevirtual org.springframework.http.HttpHeaders.add:(Ljava/lang/String;Ljava/lang/String;)V
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/servlet/resource/GzipResourceResolver$GzippedResource;
4 7 1 headers Lorg/springframework/http/HttpHeaders;
}
SourceFile: "GzipResourceResolver.java"
NestHost: org.springframework.web.servlet.resource.GzipResourceResolver
InnerClasses:
final GzippedResource = org.springframework.web.servlet.resource.GzipResourceResolver$GzippedResource of org.springframework.web.servlet.resource.GzipResourceResolver