public class FileResourceResolver extends Object implements HttpResourceResolver
Constructor and Description |
---|
FileResourceResolver() |
Modifier and Type | Method and Description |
---|---|
HttpResource |
resolveResource(String finalPath,
int bufferSize) |
void |
setDirName(String dirName) |
public void setDirName(String dirName)
public HttpResource resolveResource(String finalPath, int bufferSize) throws IOException
resolveResource
in interface HttpResourceResolver
finalPath
- A final resource path with all alias processing applied,
usually starting with a slash.bufferSize
- A buffer size used for copy operations.null
, if the resource
could not be found.IOException
Copyright © 2018 Clazzes.org. All rights reserved.