public static class RouterNanoHTTPD.StaticPageHandler extends RouterNanoHTTPD.DefaultHandler
| Constructor and Description |
|---|
RouterNanoHTTPD.StaticPageHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected BufferedInputStream |
fileToInputStream(File fileOrdirectory) |
NanoHTTPD.Response |
get(RouterNanoHTTPD.UriResource uriResource,
Map<String,String> urlParams,
NanoHTTPD.IHTTPSession session) |
String |
getMimeType() |
NanoHTTPD.Response.IStatus |
getStatus() |
String |
getText() |
getDatadelete, other, post, putpublic String getText()
getText in class RouterNanoHTTPD.DefaultHandlerpublic String getMimeType()
getMimeType in class RouterNanoHTTPD.DefaultStreamHandlerpublic NanoHTTPD.Response.IStatus getStatus()
getStatus in class RouterNanoHTTPD.DefaultHandlerpublic NanoHTTPD.Response get(RouterNanoHTTPD.UriResource uriResource, Map<String,String> urlParams, NanoHTTPD.IHTTPSession session)
get in interface RouterNanoHTTPD.UriResponderget in class RouterNanoHTTPD.DefaultHandlerprotected BufferedInputStream fileToInputStream(File fileOrdirectory) throws IOException
IOExceptionCopyright © 2012–2015 nanohttpd. All rights reserved.