@ Override public ResourceResolver getSupportingResolver ( String path ) { LOG . debug ( "Finding resolver for resource {}..." , path ) ; for ( ResourceResolver resolver : resolvers ) { if ( resolver . supports ( path ) ) { LOG . debug ( "{} can handle resource {}" , resolver , path ) ; return resolver ; } } LOG . debug ( "No resolver can handle path '{}'" , path ) ; return null ; }
Find the first supporting resolver .