Adjusting request schema value according to connection tls state.

This closes #223 issue on GitHub.
This commit is contained in:
Max Romanov
2019-03-21 13:55:57 +03:00
parent 39e147a858
commit 452ce0789e
14 changed files with 103 additions and 31 deletions

View File

@@ -980,11 +980,13 @@ public class Request implements HttpServletRequest, DynamicPathRequest
@Override
public boolean isSecure()
{
log("isSecure");
trace("isSecure");
return false;
return isSecure(req_ptr);
}
private static native boolean isSecure(long req_ptr);
@Override
public void removeAttribute(String name)
{