public class ClassPathResourceHandler extends AbstractResourceHandler
SLASH| Constructor and Description |
|---|
ClassPathResourceHandler(String baseResource)
Constructor
|
ClassPathResourceHandler(String baseResource,
String welcomeFile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractFileResolvingResource |
getResource(String path)
Gets resource from path
|
addPaths, getResourcepublic ClassPathResourceHandler(String baseResource)
baseResource - the base resource pathprotected AbstractFileResolvingResource getResource(String path) throws MalformedURLException
AbstractResourceHandlergetResource in class AbstractResourceHandlerpath - the pathMalformedURLException - thrown when malformed URL.Copyright © 2016. All rights reserved.