Also don't flush the OutputStream. The Servlet Container will flush and close the response OutputStream.
…ase where keyword params already exist at this point.
get rid of reflection warning
The :host option is used for the non-ssl connector, but not for the ssl connector. This means that the ssl connector binds to 0.0.0.0 even if :host is set, which is unexpected behavior.
header or to UTF-8 by default