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, getResource
public ClassPathResourceHandler(String baseResource)
baseResource
- the base resource pathprotected AbstractFileResolvingResource getResource(String path) throws MalformedURLException
AbstractResourceHandler
getResource
in class AbstractResourceHandler
path
- the pathMalformedURLException
- thrown when malformed URL.Copyright © 2019. All rights reserved.