This package contains the Inbound (Server side) specific interface of the Http channel.
This inbound service context i.e the HttpInboundServiceContext interface contains methods for:
-
Sending the response headers and the response body.
- send the response headers synchronously
- send the response headers asynchronously
- send the encoded response body synchronously
- send the encoded response body asynchronously
- send the raw response body without any body modifications, such as compression or chunked-encoding, synchronously
- send the raw response body without any body modifications, such as compression or chunked-encoding, asynchronously
-
Receiving the request at two granularities i.e. a single body buffer or the entire body.
Note, body here contains both, message headers and content.
- receive the encoded request body synchronously. If the body is encoded/compressed,
then the encoding is removed and the buffer/buffers returned.
- receive the encoded request body asynchronously.
- receive the raw request body synchronously. This will avoid any
body modifications, such as decompression or removal of chunked-encoding
markers.
- receive the raw request body asynchronously.