public interface StaticFileHandler extends Serializable
StaticFileServer| Modifier and Type | Method and Description |
|---|---|
boolean |
serveStaticResource(HttpServletRequest request,
HttpServletResponse response)
Serves a static resource for the requested path if a resource can be
found.
|
boolean serveStaticResource(HttpServletRequest request,
HttpServletResponse response)
throws IOException
request - the request object to read fromresponse - the response object to write totrue if a file was served and the request has been
handled, false otherwise.IOException - if the underlying servlet container reports an exceptionCopyright © 2021. All rights reserved.