You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking into a mechanism that, dependend on request information and the existence of certain endpoints, reroutes an incoming request.
For this I would need to check in a prematching ContainerRequestFilter if the endpoint to which I would like to reroute actually is defined.
How can I check if a given path and HTTP method is defined as an endpoint in Quarkus within a prematching ContainerRequestFilter for rerouting purposes?
Or as alternative, how can I reroute in a postmatching filter?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am looking into a mechanism that, dependend on request information and the existence of certain endpoints, reroutes an incoming request.
For this I would need to check in a prematching
ContainerRequestFilter
if the endpoint to which I would like to reroute actually is defined.How can I check if a given path and HTTP method is defined as an endpoint in Quarkus within a prematching ContainerRequestFilter for rerouting purposes?
Or as alternative, how can I reroute in a postmatching filter?
Maybe @FroMage or @stuartwdouglas might just know the answer?
Beta Was this translation helpful? Give feedback.
All reactions