public final class ResponseHandler
extends java.lang.Object
Constructor and Description |
---|
ResponseHandler() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Route> |
getRoutes()
Get all routes stored in this ResponseHandler
|
fi.iki.elonen.NanoHTTPD.Response |
serve(fi.iki.elonen.NanoHTTPD.IHTTPSession session)
Find the first route the matches the user's input, and handle the response
|
public fi.iki.elonen.NanoHTTPD.Response serve(fi.iki.elonen.NanoHTTPD.IHTTPSession session)
session
- Session infopublic java.util.List<Route> getRoutes()