[NO ISSUE][OTH] Add util method to get request http scheme
authorMurtadha Hubail <mhubail@apache.org>
Thu, 29 Apr 2021 14:44:38 +0000 (17:44 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Thu, 29 Apr 2021 22:21:08 +0000 (22:21 +0000)
commit82f19315dde3cf25191314ea558ba0e7d3c474d2
treee37dd968c1d23c3279c233e21a143d1fbbf30e83
parent61aad744bcb446f976bc79a9feedce88256bbc26
[NO ISSUE][OTH] Add util method to get request http scheme

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Add util method to get request http scheme.
- Allow exceptions to be thrown from servletNotFound.

Change-Id: I85e88223a0ec3291be4423cf5dc146d7d7d09903
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/11224
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/HttpServerHandler.java
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/utils/HttpUtil.java