public interface FileHTTPD
| Modifier and Type | Method and Description |
|---|---|
Closeable |
addGET(CharSequence path,
Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)
Add get closeable.
|
Closeable |
addGET(CharSequence path,
String mimeType,
Consumer<OutputStream> logic)
Add get closeable.
|
Closeable |
addPOST(CharSequence path,
Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)
Add post closeable.
|
Closeable addGET(CharSequence path, Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)
path - the pathvalue - the valueCloseable addPOST(CharSequence path, Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)
path - the pathvalue - the valueCloseable addGET(CharSequence path, String mimeType, @Nonnull Consumer<OutputStream> logic)
path - the pathmimeType - the mime typelogic - the logicCopyright © 2019 SimiaCryptus Software. All rights reserved.