public class StaticFileHandler extends Object implements HttpHandler
| Constructor and Description |
|---|
StaticFileHandler(File dir)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Eventual<LiveHttpResponse> |
handle(LiveHttpRequest request,
HttpInterceptor.Context context) |
public StaticFileHandler(File dir)
dir - directory to find files inpublic Eventual<LiveHttpResponse> handle(LiveHttpRequest request, HttpInterceptor.Context context)
handle in interface HttpHandlerCopyright © 2013–2020 Hotels.com. All rights reserved.