[D2S] HC Proxy: HTTP Non-persistent connection support
authorhwa.chung <hwa.chung@samsung.com>
Tue, 25 Oct 2016 07:12:12 +0000 (16:12 +0900)
committerJee Hyeok Kim <jihyeok13.kim@samsung.com>
Tue, 15 Nov 2016 00:50:43 +0000 (00:50 +0000)
commitfca77d538a4b8bc9a6949f0711ee81f69e821f57
tree1c8c146d1732cf414501d419de4b1204bcaa660a
parent40f1a0f47e270d611fc8349276a87daba8ec4a60
[D2S] HC Proxy: HTTP Non-persistent connection support

Http request handling processes:
1. SslContext: for TLS connection
2. HttpRequestDecoder: netty-http-codec
3. HttpLogHandler: for Http log
4. HCProxyHandler: to translate HTTP to CoAP
5. HttpAuthHandler: for Authorization check
6. NonPersistentPacketReceiver:
   to hand over a request msg to a proper resource (server)
Note: Resource-manager will broker the received request
      to correspoding resource according to url path.

Change-Id: Ia78a6cbbcd47ace81b074010da194045ac12a8fc
Signed-off-by: hwa.chung <hwa.chung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13247
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Yeonghun Nam <yeonghun.nam@samsung.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
13 files changed:
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/CloudInterfaceServer.java
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/DeviceServerSystem.java
cloud/stack/src/main/java/org/iotivity/cloud/base/ServerSystem.java
cloud/stack/src/main/java/org/iotivity/cloud/base/device/HttpDevice.java
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/IResponse.java
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/coap/CoapLogHandler.java
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/coap/CoapMessage.java
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/http/HCProxyHandler.java [new file with mode: 0644]
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/http/HCProxyProcessor.java [new file with mode: 0644]
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/http/HttpLogHandler.java [new file with mode: 0644]
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/http/HttpMessage.java [deleted file]
cloud/stack/src/main/java/org/iotivity/cloud/base/resource/Resource.java
cloud/stack/src/main/java/org/iotivity/cloud/base/server/HttpServer.java