14.4.3. Configuring Netty HTTP
Netty HTTP tunnels packets over the HTTP protocol. It can be useful in scenarios where firewalls only allow HTTP traffic to pass.
Netty HTTP uses the same properties as Netty TCP but adds the following additional properties:
-
http-enabled
- Set to
true
to enable HTTP. -
http-client-idle-time
- The period of time (in milliseconds) a client can be idle before sending an empty HTTP request to keep the connection alive.
-
http-client-idle-scan-period
- How often, in milliseconds, to scan for idle clients.
-
http-response-time
- The period of time in milliseconds the server should wait before sending an empty HTTP response to keep the connection alive.
-
http-server-scan-period
- How often, in milliseconds, to scan for clients requiring responses.
-
http-requires-session-id
- When
true
, the client waits to receive a session ID after the first call. This is used when the HTTP connector is connecting to the servlet acceptor (not recommended).