Class DefaultResolutionCacheManager.MapURLResolver

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private RelativeUrlResolver delegate  
      private java.util.Map<java.lang.Object,​java.lang.Object> paths  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MapURLResolver​(java.util.Map<java.lang.Object,​java.lang.Object> paths, RelativeUrlResolver delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URL getURL​(java.net.URL context, java.lang.String url)
      Resolve the url in the context of context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • paths

        private java.util.Map<java.lang.Object,​java.lang.Object> paths
    • Constructor Detail

      • MapURLResolver

        private MapURLResolver​(java.util.Map<java.lang.Object,​java.lang.Object> paths,
                               RelativeUrlResolver delegate)
    • Method Detail

      • getURL

        public java.net.URL getURL​(java.net.URL context,
                                   java.lang.String url)
                            throws java.net.MalformedURLException
        Description copied from class: RelativeUrlResolver
        Resolve the url in the context of context.
        Specified by:
        getURL in class RelativeUrlResolver
        Parameters:
        context - The URL of the resource containing the reference url
        url - a relative or absolution url string
        Returns:
        URL
        Throws:
        java.net.MalformedURLException - if url is wrong