public class org.springframework.web.servlet.resource.PathResourceResolver extends org.springframework.web.servlet.resource.AbstractResourceResolver
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.springframework.web.servlet.resource.PathResourceResolver
  super_class: org.springframework.web.servlet.resource.AbstractResourceResolver
{
  private org.springframework.core.io.Resource[] allowedLocations;
    descriptor: [Lorg/springframework/core/io/Resource;
    flags: (0x0002) ACC_PRIVATE
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()

  private final java.util.Map<org.springframework.core.io.Resource, java.nio.charset.Charset> locationCharsets;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Lorg/springframework/core/io/Resource;Ljava/nio/charset/Charset;>;

  private org.springframework.web.util.UrlPathHelper urlPathHelper;
    descriptor: Lorg/springframework/web/util/UrlPathHelper;
    flags: (0x0002) ACC_PRIVATE
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 54
            aload 0 /* this */
            invokespecial org.springframework.web.servlet.resource.AbstractResourceResolver.<init>:()V
         1: .line 59
            aload 0 /* this */
            new java.util.HashMap
            dup
            iconst_4
            invokespecial java.util.HashMap.<init>:(I)V
            putfield org.springframework.web.servlet.resource.PathResourceResolver.locationCharsets:Ljava/util/Map;
         2: .line 54
            return
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;

  public void setAllowedLocations(org.springframework.core.io.Resource[]);
    descriptor: ([Lorg/springframework/core/io/Resource;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // org.springframework.core.io.Resource[] locations
         0: .line 83
            aload 0 /* this */
            aload 1 /* locations */
            putfield org.springframework.web.servlet.resource.PathResourceResolver.allowedLocations:[Lorg/springframework/core/io/Resource;
         1: .line 84
            return
        end local 1 // org.springframework.core.io.Resource[] locations
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0    2     1  locations  [Lorg/springframework/core/io/Resource;
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
           Name  Flags
      locations  

  public org.springframework.core.io.Resource[] getAllowedLocations();
    descriptor: ()[Lorg/springframework/core/io/Resource;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 88
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.allowedLocations:[Lorg/springframework/core/io/Resource;
            areturn
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()

  public void setLocationCharsets(java.util.Map<org.springframework.core.io.Resource, java.nio.charset.Charset>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // java.util.Map locationCharsets
         0: .line 101
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.locationCharsets:Ljava/util/Map;
            invokeinterface java.util.Map.clear:()V
         1: .line 102
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.locationCharsets:Ljava/util/Map;
            aload 1 /* locationCharsets */
            invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
         2: .line 103
            return
        end local 1 // java.util.Map locationCharsets
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    3     0              this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0    3     1  locationCharsets  Ljava/util/Map<Lorg/springframework/core/io/Resource;Ljava/nio/charset/Charset;>;
    Signature: (Ljava/util/Map<Lorg/springframework/core/io/Resource;Ljava/nio/charset/Charset;>;)V
    MethodParameters:
                  Name  Flags
      locationCharsets  

  public java.util.Map<org.springframework.core.io.Resource, java.nio.charset.Charset> getLocationCharsets();
    descriptor: ()Ljava/util/Map;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 110
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.locationCharsets:Ljava/util/Map;
            invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
            areturn
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
    Signature: ()Ljava/util/Map<Lorg/springframework/core/io/Resource;Ljava/nio/charset/Charset;>;

  public void setUrlPathHelper(org.springframework.web.util.UrlPathHelper);
    descriptor: (Lorg/springframework/web/util/UrlPathHelper;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // org.springframework.web.util.UrlPathHelper urlPathHelper
         0: .line 120
            aload 0 /* this */
            aload 1 /* urlPathHelper */
            putfield org.springframework.web.servlet.resource.PathResourceResolver.urlPathHelper:Lorg/springframework/web/util/UrlPathHelper;
         1: .line 121
            return
        end local 1 // org.springframework.web.util.UrlPathHelper urlPathHelper
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0    2     1  urlPathHelper  Lorg/springframework/web/util/UrlPathHelper;
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
               Name  Flags
      urlPathHelper  

  public org.springframework.web.util.UrlPathHelper getUrlPathHelper();
    descriptor: ()Lorg/springframework/web/util/UrlPathHelper;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 129
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.urlPathHelper:Lorg/springframework/web/util/UrlPathHelper;
            areturn
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()

  protected org.springframework.core.io.Resource resolveResourceInternal(HttpServletRequest, java.lang.String, java.util.List<? extends org.springframework.core.io.Resource>, org.springframework.web.servlet.resource.ResourceResolverChain);
    descriptor: (LHttpServletRequest;Ljava/lang/String;Ljava/util/List;Lorg/springframework/web/servlet/resource/ResourceResolverChain;)Lorg/springframework/core/io/Resource;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=5, args_size=5
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 134
            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 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
    Signature: (LHttpServletRequest;Ljava/lang/String;Ljava/util/List<+Lorg/springframework/core/io/Resource;>;Lorg/springframework/web/servlet/resource/ResourceResolverChain;)Lorg/springframework/core/io/Resource;
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
      1:
      2:
      3:
    MethodParameters:
             Name  Flags
      request      
      requestPath  
      locations    
      chain        

  protected java.lang.String resolveUrlPathInternal(java.lang.String, java.util.List<? extends org.springframework.core.io.Resource>, org.springframework.web.servlet.resource.ResourceResolverChain);
    descriptor: (Ljava/lang/String;Ljava/util/List;Lorg/springframework/web/servlet/resource/ResourceResolverChain;)Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 145
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tThe method getResource(String, HttpServletRequest, List<? extends Resource>) from the type PathResourceResolver refers to the missing type HttpServletRequest\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
    Signature: (Ljava/lang/String;Ljava/util/List<+Lorg/springframework/core/io/Resource;>;Lorg/springframework/web/servlet/resource/ResourceResolverChain;)Ljava/lang/String;
    MethodParameters:
              Name  Flags
      resourcePath  
      locations     
      chain         

  org.springframework.core.io.Resource getResource(java.lang.String, HttpServletRequest, java.util.List<? extends org.springframework.core.io.Resource>);
    descriptor: (Ljava/lang/String;LHttpServletRequest;Ljava/util/List;)Lorg/springframework/core/io/Resource;
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 149
            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 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
    Signature: (Ljava/lang/String;LHttpServletRequest;Ljava/util/List<+Lorg/springframework/core/io/Resource;>;)Lorg/springframework/core/io/Resource;
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
        org.springframework.lang.Nullable()
      2:
    MethodParameters:
              Name  Flags
      resourcePath  
      request       
      locations     

  protected org.springframework.core.io.Resource getResource(java.lang.String, org.springframework.core.io.Resource);
    descriptor: (Ljava/lang/String;Lorg/springframework/core/io/Resource;)Lorg/springframework/core/io/Resource;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // java.lang.String resourcePath
        start local 2 // org.springframework.core.io.Resource location
         0: .line 185
            aload 2 /* location */
            aload 1 /* resourcePath */
            invokeinterface org.springframework.core.io.Resource.createRelative:(Ljava/lang/String;)Lorg/springframework/core/io/Resource;
            astore 3 /* resource */
        start local 3 // org.springframework.core.io.Resource resource
         1: .line 186
            aload 3 /* resource */
            invokeinterface org.springframework.core.io.Resource.isReadable:()Z
            ifeq 13
         2: .line 187
            aload 0 /* this */
            aload 3 /* resource */
            aload 2 /* location */
            invokevirtual org.springframework.web.servlet.resource.PathResourceResolver.checkResource:(Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)Z
            ifeq 4
         3: .line 188
            aload 3 /* resource */
            areturn
         4: .line 190
      StackMap locals: org.springframework.core.io.Resource
      StackMap stack:
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.logger:Lorg/apache/commons/logging/Log;
            invokeinterface org.apache.commons.logging.Log.isWarnEnabled:()Z
            ifeq 13
         5: .line 191
            aload 0 /* this */
            invokevirtual org.springframework.web.servlet.resource.PathResourceResolver.getAllowedLocations:()[Lorg/springframework/core/io/Resource;
            astore 4 /* allowedLocations */
        start local 4 // org.springframework.core.io.Resource[] allowedLocations
         6: .line 192
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.logger:Lorg/apache/commons/logging/Log;
            new java.lang.StringBuilder
            dup
            ldc "Resource path \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* resourcePath */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\" was successfully resolved "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         7: .line 193
            ldc "but resource \""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 3 /* resource */
            invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "\" is neither under the "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 194
            ldc "current location \""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 2 /* location */
            invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "\" nor under any of the "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 195
            ldc "allowed locations "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* allowedLocations */
            ifnull 10
            aload 4 /* allowedLocations */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            goto 11
      StackMap locals: org.springframework.web.servlet.resource.PathResourceResolver java.lang.String org.springframework.core.io.Resource org.springframework.core.io.Resource org.springframework.core.io.Resource[]
      StackMap stack: org.apache.commons.logging.Log java.lang.StringBuilder
        10: ldc "[]"
      StackMap locals: org.springframework.web.servlet.resource.PathResourceResolver java.lang.String org.springframework.core.io.Resource org.springframework.core.io.Resource org.springframework.core.io.Resource[]
      StackMap stack: org.apache.commons.logging.Log java.lang.StringBuilder java.lang.Object
        11: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        12: .line 192
            invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;)V
        end local 4 // org.springframework.core.io.Resource[] allowedLocations
        13: .line 198
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 3 // org.springframework.core.io.Resource resource
        end local 2 // org.springframework.core.io.Resource location
        end local 1 // java.lang.String resourcePath
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   14     0              this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0   14     1      resourcePath  Ljava/lang/String;
            0   14     2          location  Lorg/springframework/core/io/Resource;
            1   14     3          resource  Lorg/springframework/core/io/Resource;
            6   13     4  allowedLocations  [Lorg/springframework/core/io/Resource;
    Exceptions:
      throws java.io.IOException
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()
    MethodParameters:
              Name  Flags
      resourcePath  
      location      

  protected boolean checkResource(org.springframework.core.io.Resource, org.springframework.core.io.Resource);
    descriptor: (Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=8, args_size=3
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // org.springframework.core.io.Resource resource
        start local 2 // org.springframework.core.io.Resource location
         0: .line 212
            aload 0 /* this */
            aload 1 /* resource */
            aload 2 /* location */
            invokevirtual org.springframework.web.servlet.resource.PathResourceResolver.isResourceUnderLocation:(Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)Z
            ifeq 2
         1: .line 213
            iconst_1
            ireturn
         2: .line 215
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.springframework.web.servlet.resource.PathResourceResolver.getAllowedLocations:()[Lorg/springframework/core/io/Resource;
            astore 3 /* allowedLocations */
        start local 3 // org.springframework.core.io.Resource[] allowedLocations
         3: .line 216
            aload 3 /* allowedLocations */
            ifnull 10
         4: .line 217
            aload 3 /* allowedLocations */
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 9
      StackMap locals: org.springframework.web.servlet.resource.PathResourceResolver org.springframework.core.io.Resource org.springframework.core.io.Resource org.springframework.core.io.Resource[] top int int org.springframework.core.io.Resource[]
      StackMap stack:
         5: aload 7
            iload 5
            aaload
            astore 4 /* current */
        start local 4 // org.springframework.core.io.Resource current
         6: .line 218
            aload 0 /* this */
            aload 1 /* resource */
            aload 4 /* current */
            invokevirtual org.springframework.web.servlet.resource.PathResourceResolver.isResourceUnderLocation:(Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)Z
            ifeq 8
         7: .line 219
            iconst_1
            ireturn
        end local 4 // org.springframework.core.io.Resource current
         8: .line 217
      StackMap locals:
      StackMap stack:
            iinc 5 1
      StackMap locals:
      StackMap stack:
         9: iload 5
            iload 6
            if_icmplt 5
        10: .line 223
      StackMap locals: org.springframework.web.servlet.resource.PathResourceResolver org.springframework.core.io.Resource org.springframework.core.io.Resource org.springframework.core.io.Resource[]
      StackMap stack:
            iconst_0
            ireturn
        end local 3 // org.springframework.core.io.Resource[] allowedLocations
        end local 2 // org.springframework.core.io.Resource location
        end local 1 // org.springframework.core.io.Resource resource
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   11     0              this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0   11     1          resource  Lorg/springframework/core/io/Resource;
            0   11     2          location  Lorg/springframework/core/io/Resource;
            3   11     3  allowedLocations  [Lorg/springframework/core/io/Resource;
            6    8     4           current  Lorg/springframework/core/io/Resource;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      resource  
      location  

  private boolean isResourceUnderLocation(org.springframework.core.io.Resource, org.springframework.core.io.Resource);
    descriptor: (Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // org.springframework.core.io.Resource resource
        start local 2 // org.springframework.core.io.Resource location
         0: .line 227
            aload 1 /* resource */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            aload 2 /* location */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            if_acmpeq 2
         1: .line 228
            iconst_0
            ireturn
         2: .line 234
      StackMap locals:
      StackMap stack:
            aload 1 /* resource */
            instanceof org.springframework.core.io.UrlResource
            ifeq 6
         3: .line 235
            aload 1 /* resource */
            invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
            invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
            astore 3 /* resourcePath */
        start local 3 // java.lang.String resourcePath
         4: .line 236
            aload 2 /* location */
            invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
            invokevirtual java.net.URL.toString:()Ljava/lang/String;
            invokestatic org.springframework.util.StringUtils.cleanPath:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* locationPath */
        start local 4 // java.lang.String locationPath
         5: .line 237
            goto 16
        end local 4 // java.lang.String locationPath
        end local 3 // java.lang.String resourcePath
         6: .line 238
      StackMap locals:
      StackMap stack:
            aload 1 /* resource */
            instanceof org.springframework.core.io.ClassPathResource
            ifeq 10
         7: .line 239
            aload 1 /* resource */
            checkcast org.springframework.core.io.ClassPathResource
            invokevirtual org.springframework.core.io.ClassPathResource.getPath:()Ljava/lang/String;
            astore 3 /* resourcePath */
        start local 3 // java.lang.String resourcePath
         8: .line 240
            aload 2 /* location */
            checkcast org.springframework.core.io.ClassPathResource
            invokevirtual org.springframework.core.io.ClassPathResource.getPath:()Ljava/lang/String;
            invokestatic org.springframework.util.StringUtils.cleanPath:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* locationPath */
        start local 4 // java.lang.String locationPath
         9: .line 241
            goto 16
        end local 4 // java.lang.String locationPath
        end local 3 // java.lang.String resourcePath
        10: .line 242
      StackMap locals:
      StackMap stack:
            aload 1 /* resource */
            instanceof org.springframework.web.context.support.ServletContextResource
            ifeq 14
        11: .line 243
            aload 1 /* resource */
            checkcast org.springframework.web.context.support.ServletContextResource
            invokevirtual org.springframework.web.context.support.ServletContextResource.getPath:()Ljava/lang/String;
            astore 3 /* resourcePath */
        start local 3 // java.lang.String resourcePath
        12: .line 244
            aload 2 /* location */
            checkcast org.springframework.web.context.support.ServletContextResource
            invokevirtual org.springframework.web.context.support.ServletContextResource.getPath:()Ljava/lang/String;
            invokestatic org.springframework.util.StringUtils.cleanPath:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* locationPath */
        start local 4 // java.lang.String locationPath
        13: .line 245
            goto 16
        end local 4 // java.lang.String locationPath
        end local 3 // java.lang.String resourcePath
        14: .line 247
      StackMap locals:
      StackMap stack:
            aload 1 /* resource */
            invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
            invokevirtual java.net.URL.getPath:()Ljava/lang/String;
            astore 3 /* resourcePath */
        start local 3 // java.lang.String resourcePath
        15: .line 248
            aload 2 /* location */
            invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
            invokevirtual java.net.URL.getPath:()Ljava/lang/String;
            invokestatic org.springframework.util.StringUtils.cleanPath:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* locationPath */
        start local 4 // java.lang.String locationPath
        16: .line 251
      StackMap locals: java.lang.String java.lang.String
      StackMap stack:
            aload 4 /* locationPath */
            aload 3 /* resourcePath */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 18
        17: .line 252
            iconst_1
            ireturn
        18: .line 254
      StackMap locals:
      StackMap stack:
            aload 4 /* locationPath */
            ldc "/"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 19
            aload 4 /* locationPath */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 20
      StackMap locals:
      StackMap stack:
        19: aload 4 /* locationPath */
            goto 21
      StackMap locals:
      StackMap stack:
        20: new java.lang.StringBuilder
            dup
            aload 4 /* locationPath */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "/"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
        21: astore 4 /* locationPath */
        22: .line 255
            aload 3 /* resourcePath */
            aload 4 /* locationPath */
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 23
            aload 0 /* this */
            aload 3 /* resourcePath */
            invokevirtual org.springframework.web.servlet.resource.PathResourceResolver.isInvalidEncodedPath:(Ljava/lang/String;)Z
            ifne 23
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        23: iconst_0
            ireturn
        end local 4 // java.lang.String locationPath
        end local 3 // java.lang.String resourcePath
        end local 2 // org.springframework.core.io.Resource location
        end local 1 // org.springframework.core.io.Resource resource
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   24     0          this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0   24     1      resource  Lorg/springframework/core/io/Resource;
            0   24     2      location  Lorg/springframework/core/io/Resource;
            4    6     3  resourcePath  Ljava/lang/String;
            8   10     3  resourcePath  Ljava/lang/String;
           12   14     3  resourcePath  Ljava/lang/String;
           15   24     3  resourcePath  Ljava/lang/String;
            5    6     4  locationPath  Ljava/lang/String;
            9   10     4  locationPath  Ljava/lang/String;
           13   14     4  locationPath  Ljava/lang/String;
           16   24     4  locationPath  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      resource  
      location  

  java.lang.String encodeIfNecessary(java.lang.String, HttpServletRequest, org.springframework.core.io.Resource);
    descriptor: (Ljava/lang/String;LHttpServletRequest;Lorg/springframework/core/io/Resource;)Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
         0: .line 258
            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 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
        org.springframework.lang.Nullable()
      2:
    MethodParameters:
          Name  Flags
      path      
      request   
      location  

  private boolean shouldEncodeRelativePath(org.springframework.core.io.Resource);
    descriptor: (Lorg/springframework/core/io/Resource;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // org.springframework.core.io.Resource location
         0: .line 279
            aload 1 /* location */
            instanceof org.springframework.core.io.UrlResource
            ifeq 1
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.urlPathHelper:Lorg/springframework/web/util/UrlPathHelper;
            ifnull 1
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.urlPathHelper:Lorg/springframework/web/util/UrlPathHelper;
            invokevirtual org.springframework.web.util.UrlPathHelper.isUrlDecode:()Z
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // org.springframework.core.io.Resource location
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0    2     1  location  Lorg/springframework/core/io/Resource;
    MethodParameters:
          Name  Flags
      location  

  private boolean isInvalidEncodedPath(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
        start local 1 // java.lang.String resourcePath
         0: .line 283
            aload 1 /* resourcePath */
            ldc "%"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 7
         1: .line 286
            aload 1 /* resourcePath */
            ldc "UTF-8"
            invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* decodedPath */
        start local 2 // java.lang.String decodedPath
         2: .line 287
            aload 2 /* decodedPath */
            ldc "../"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 3
            aload 2 /* decodedPath */
            ldc "..\\"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 7
         3: .line 288
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            getfield org.springframework.web.servlet.resource.PathResourceResolver.logger:Lorg/apache/commons/logging/Log;
            new java.lang.StringBuilder
            dup
            ldc "Resolved resource path contains encoded \"../\" or \"..\\\": "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* resourcePath */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;)V
         4: .line 289
            iconst_1
            ireturn
        end local 2 // java.lang.String decodedPath
         5: .line 292
      StackMap locals: org.springframework.web.servlet.resource.PathResourceResolver java.lang.String
      StackMap stack: java.lang.IllegalArgumentException
            pop
            goto 7
         6: .line 295
      StackMap locals:
      StackMap stack: java.io.UnsupportedEncodingException
            pop
         7: .line 299
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.String resourcePath
        end local 0 // org.springframework.web.servlet.resource.PathResourceResolver this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Lorg/springframework/web/servlet/resource/PathResourceResolver;
            0    8     1  resourcePath  Ljava/lang/String;
            2    5     2   decodedPath  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1     4       5  Class java.lang.IllegalArgumentException
           1     4       6  Class java.io.UnsupportedEncodingException
    MethodParameters:
              Name  Flags
      resourcePath  
}
SourceFile: "PathResourceResolver.java"