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,MimeType> |
defaultMimeTypes |
Constructor and Description |
---|
ResourcesDirectory(java.nio.file.Path dir) |
ResourcesDirectory(java.nio.file.Path dir,
HttpSecurity<T> security,
Map<String,MimeType> fileExtensionToContentType) |
public ResourcesDirectory(java.nio.file.Path dir, HttpSecurity<T> security, Map<String,MimeType> fileExtensionToContentType)
public ResourcesDirectory(java.nio.file.Path dir)
public Handler<T> find(HttpRequest headers, T sessionState)
find
in interface HandlerLocator<T>
Copyright © 2017. All Rights Reserved.