public static class HandlerLocator.ResourcesDirectory<T> extends Object implements HandlerLocator<T>
HandlerLocator.List<T>, HandlerLocator.ResourcesDirectory<T>
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
defaultMimeTypes |
Constructor and Description |
---|
ResourcesDirectory(java.nio.file.Path dir) |
ResourcesDirectory(java.nio.file.Path dir,
HttpSecurity<T> security,
Map<String,String> fileExtensionToContentType) |
Modifier and Type | Method and Description |
---|---|
Handler<T> |
find(HttpRequest headers,
T sessionState) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDefaultMimeTypeMap
public ResourcesDirectory(java.nio.file.Path dir, HttpSecurity<T> security, Map<String,String> fileExtensionToContentType)
public ResourcesDirectory(java.nio.file.Path dir)
public Handler<T> find(HttpRequest headers, T sessionState)
find
in interface HandlerLocator<T>
Copyright © 2016. All Rights Reserved.