Skip to content

Conversation

@Matthiasvanderhallen
Copy link
Contributor

@Matthiasvanderhallen Matthiasvanderhallen commented Oct 25, 2025

This pull request modifies the JdkHttpHandlerContainer to provide container-specific custom bindings; I wrote it to align with JettyHttpContainer and its Request and Response injectables.

The value of being able to inject the HttpExchange is e.g. being able to get the remote socket address (HttpExchange::getRemoteAddress()) for auditing or getting the peer certificates (By getting the SSLSession from the HttpsExchange).

It also improves feature parity between different containers.

@Matthiasvanderhallen Matthiasvanderhallen force-pushed the HttpExchangeInjection branch 2 times, most recently from 6a09193 to c1f6a5f Compare October 25, 2025 15:14
…ntainer-specific binder

Signed-off-by: Matthias Van der Hallen <[email protected]>
Signed-off-by: Matthias Van der Hallen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant