public static class NanoHTTPD.DefaultAsyncRunner extends java.lang.Object implements NanoHTTPD.AsyncRunner
By default, the server spawns a new Thread for every incoming request. These are set to daemon status, and named according to the request number. The name is useful when profiling the application.
Constructor and Description |
---|
DefaultAsyncRunner() |
Modifier and Type | Method and Description |
---|---|
void |
exec(java.lang.Runnable code) |
public void exec(java.lang.Runnable code)
exec
in interface NanoHTTPD.AsyncRunner