Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contextual data for proxies request #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ramanadas
Copy link
Owner

Implement contextual data support for proxied requests

This feature enhancement addresses issue eclipse-vertx#71 by introducing the ability to provide contextual data when handing over a request to the proxy. The contextual data is made accessible to all proxy components, including origin selectors and interceptors, allowing for more flexible and customized handling of proxied requests.

Key Changes:

  1. Modified the ProxiedRequest class to include field contextData and providing methods to set and get contextual data.
  2. Updated the Proxy class to accept and propagate contextual data when handling proxied requests.

This enhancement improves the flexibility and extensibility of the proxy functionality, empowering users to tailor the proxy behavior based on specific contextual information associated with proxied requests.

Closes eclipse-vertx#71

added field and getter and setter of it
added constructor which takes contextData as parameter
If not instance of class return null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant