code: protected boolean allowResourceToBeServed(String absolutePath) {
          // does it have an adjunct directory marker?
          int idx = absolutePath.lastIndexOf('/');
          if (idx>0 && classLoader.getResource(absolutePath.substring(0,idx)+"/.adjunct")!=null)
              return true;
  
          // backward compatible behaviour
          return absolutePath.endsWith(".gif")
              || absolutePath.endsWith(".png")
              || absolutePath.endsWith(".css")
              || absolutePath.endsWith(".js");
      }
docs: Controls whether the given resource can be served to browsers.
  
  <p>
  This method can be overridden by the sub classes to change the access control behavior.
  
  <p>
  {@link AdjunctManager} is capable of serving all the resources visible
  in the classloader by default. If the resource files need to be kept private,
  return false, which causes the request to fail with 401.
  
  Otherwise return true, in which case the resource will be served.