public class org.springframework.web.servlet.resource.CssLinkResourceTransformer extends org.springframework.web.servlet.resource.ResourceTransformerSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.servlet.resource.CssLinkResourceTransformer
super_class: org.springframework.web.servlet.resource.ResourceTransformerSupport
{
private static final java.nio.charset.Charset DEFAULT_CHARSET;
descriptor: Ljava/nio/charset/Charset;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<org.springframework.web.servlet.resource.CssLinkResourceTransformer$LinkParser> linkParsers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/web/servlet/resource/CssLinkResourceTransformer$LinkParser;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
putstatic org.springframework.web.servlet.resource.CssLinkResourceTransformer.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
1: ldc Lorg/springframework/web/servlet/resource/CssLinkResourceTransformer;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.web.servlet.resource.CssLinkResourceTransformer.logger:Lorg/apache/commons/logging/Log;
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.springframework.web.servlet.resource.ResourceTransformerSupport.<init>:()V
1: aload 0
new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.springframework.web.servlet.resource.CssLinkResourceTransformer.linkParsers:Ljava/util/List;
2: aload 0
getfield org.springframework.web.servlet.resource.CssLinkResourceTransformer.linkParsers:Ljava/util/List;
new org.springframework.web.servlet.resource.CssLinkResourceTransformer$ImportStatementLinkParser
dup
invokespecial org.springframework.web.servlet.resource.CssLinkResourceTransformer$ImportStatementLinkParser.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.springframework.web.servlet.resource.CssLinkResourceTransformer.linkParsers:Ljava/util/List;
new org.springframework.web.servlet.resource.CssLinkResourceTransformer$UrlFunctionLinkParser
dup
invokespecial org.springframework.web.servlet.resource.CssLinkResourceTransformer$UrlFunctionLinkParser.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/servlet/resource/CssLinkResourceTransformer;
public org.springframework.core.io.Resource transform(HttpServletRequest, org.springframework.core.io.Resource, org.springframework.web.servlet.resource.ResourceTransformerChain);
descriptor: (LHttpServletRequest;Lorg/springframework/core/io/Resource;Lorg/springframework/web/servlet/resource/ResourceTransformerChain;)Lorg/springframework/core/io/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/resource/CssLinkResourceTransformer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
resource
transformerChain
private boolean hasScheme(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 1: iload 2
ifle 2
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 3
StackMap locals: int
StackMap stack:
2: aload 1
ldc "//"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ifeq 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 Lorg/springframework/web/servlet/resource/CssLinkResourceTransformer;
0 4 1 link Ljava/lang/String;
1 4 2 schemeIndex I
MethodParameters:
Name Flags
link
public org.springframework.core.io.Resource transform(HttpServletRequest, org.springframework.core.io.Resource, org.springframework.web.servlet.resource.ResourceTransformerChain);
descriptor: (LHttpServletRequest;Lorg/springframework/core/io/Resource;Lorg/springframework/web/servlet/resource/ResourceTransformerChain;)Lorg/springframework/core/io/Resource;
flags: (0x1001) ACC_PUBLIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe type CssLinkResourceTransformer must implement the inherited abstract method ResourceTransformer.transform(HttpServletRequest, Resource, ResourceTransformerChain)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
}
SourceFile: "CssLinkResourceTransformer.java"
NestMembers:
org.springframework.web.servlet.resource.CssLinkResourceTransformer$AbstractLinkParser org.springframework.web.servlet.resource.CssLinkResourceTransformer$ContentChunkInfo org.springframework.web.servlet.resource.CssLinkResourceTransformer$ImportStatementLinkParser org.springframework.web.servlet.resource.CssLinkResourceTransformer$LinkParser org.springframework.web.servlet.resource.CssLinkResourceTransformer$UrlFunctionLinkParser
InnerClasses:
protected abstract AbstractLinkParser = org.springframework.web.servlet.resource.CssLinkResourceTransformer$AbstractLinkParser of org.springframework.web.servlet.resource.CssLinkResourceTransformer
private ContentChunkInfo = org.springframework.web.servlet.resource.CssLinkResourceTransformer$ContentChunkInfo of org.springframework.web.servlet.resource.CssLinkResourceTransformer
private ImportStatementLinkParser = org.springframework.web.servlet.resource.CssLinkResourceTransformer$ImportStatementLinkParser of org.springframework.web.servlet.resource.CssLinkResourceTransformer
protected abstract LinkParser = org.springframework.web.servlet.resource.CssLinkResourceTransformer$LinkParser of org.springframework.web.servlet.resource.CssLinkResourceTransformer
private UrlFunctionLinkParser = org.springframework.web.servlet.resource.CssLinkResourceTransformer$UrlFunctionLinkParser of org.springframework.web.servlet.resource.CssLinkResourceTransformer