using a scanner object to parse the body text was horrifically slow in my app; up to 5 seconds per request. this PR is to remove the scanner and use the hashmap method recommended on several stack overflow examples related to NanoHTTPD. in my app, this removed all delays associated with the webserver and made the application much more responsive.
using a scanner object to parse the body text was horrifically slow in my app; up to 5 seconds per request. this PR is to remove the scanner and use the hashmap method recommended on several stack overflow examples related to NanoHTTPD. in my app, this removed all delays associated with the webserver and made the application much more responsive.