Package fi.iki.elonen

Class NanoHTTPD.DefaultAsyncRunner

java.lang.Object
fi.iki.elonen.NanoHTTPD.DefaultAsyncRunner
All Implemented Interfaces:
NanoHTTPD.AsyncRunner
Enclosing class:
NanoHTTPD

public static class NanoHTTPD.DefaultAsyncRunner extends Object implements NanoHTTPD.AsyncRunner
Default threading strategy for NanoHTTPD.

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.