| Package | Description | 
|---|---|
| com.simiacryptus.notebook | 
| Modifier and Type | Field and Description | 
|---|---|
Map<CharSequence,Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response>> | 
FileNanoHTTPD.getHandlers
The Custom getHandlers. 
 | 
Map<CharSequence,Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response>> | 
FileNanoHTTPD.postHandlers
The Post handlers. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static NanoHTTPD.Response | 
NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.IStatus status,
                  String mimeType,
                  InputStream data)  | 
static NanoHTTPD.Response | 
NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.IStatus status,
                      String mimeType,
                      InputStream data,
                      long totalBytes)  | 
static NanoHTTPD.Response | 
NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.IStatus status,
                      String mimeType,
                      String txt)  | 
static NanoHTTPD.Response | 
NanoHTTPD.newFixedLengthResponse(String msg)  | 
NanoHTTPD.Response | 
NanoHTTPD.serve(NanoHTTPD.IHTTPSession session)  | 
NanoHTTPD.Response | 
FileNanoHTTPD.serve(NanoHTTPD.IHTTPSession session)  | 
NanoHTTPD.Response | 
StreamNanoHTTPD.serve(NanoHTTPD.IHTTPSession session)  | 
NanoHTTPD.Response | 
NanoHTTPD.serve(String uri,
     NanoHTTPD.Method method,
     Map<String,String> headers,
     Map<String,String> parms,
     Map<String,String> files)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> | 
StreamNanoHTTPD.asyncHandler(ExecutorService pool,
            String mimeType,
            Consumer<OutputStream> logic,
            boolean async)
Async handler function. 
 | 
static Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> | 
FileNanoHTTPD.handler(String mimeType,
       Consumer<OutputStream> logic)
Sync handler function. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
NanoHTTPD.CookieHandler.unloadQueue(NanoHTTPD.Response response)  | 
protected boolean | 
NanoHTTPD.useGzipWhenAccepted(NanoHTTPD.Response r)  | 
protected boolean | 
StreamNanoHTTPD.useGzipWhenAccepted(NanoHTTPD.Response r)  | 
| Modifier and Type | Method and Description | 
|---|---|
Closeable | 
FileNanoHTTPD.addGET(CharSequence path,
      Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)
Add session handler function. 
 | 
Closeable | 
FileHTTPD.addGET(CharSequence path,
      Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)
Add get closeable. 
 | 
Closeable | 
FileNanoHTTPD.addPOST(CharSequence path,
       Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)  | 
Closeable | 
FileHTTPD.addPOST(CharSequence path,
       Function<NanoHTTPD.IHTTPSession,NanoHTTPD.Response> value)
Add post closeable. 
 | 
Copyright © 2019 SimiaCryptus Software. All rights reserved.