ResourceHandlerRegistration function ( String ... arg0 ) { for ( String loc0 : arg0 ) { this . locations . add ( resourceLoader . getResource ( loc0 ) ) ; } return this ; }
add one or more resource locations from which to serve static content . each location must point to a valid directory . multiple locations may be specified as a comma-separated list , and the locations will be checked for a given resource in the order specified . for example , '' / '' , `` classpath : / meta-inf/public-web-resources / '' allows resources to be served both from the web application root and from any jar on the classpath that contains a / meta-inf/public-web-resources / directory , with resources in the web application root taking precedence . concode_field_sep Integer cachePeriod concode_elem_sep ResourceChainRegistration resourceChainRegistration concode_elem_sep List<Resource> locations concode_elem_sep ResourceLoader resourceLoader concode_elem_sep String[] pathPatterns concode_elem_sep CacheControl cacheControl concode_field_sep ResourceChainRegistration resourceChain concode_elem_sep ResourceChainRegistration resourceChain concode_elem_sep ResourceHttpRequestHandler getRequestHandler concode_elem_sep String[] getPathPatterns concode_elem_sep ResourceHandlerRegistration setCacheControl concode_elem_sep ResourceHandlerRegistration setCachePeriod