-
How can I implement a 'forward' method in Armeria similar to the one in Servlet, to internally forward a request to another handler or route within the same request context? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Similar to the API provided by the servlet HttpServletResponse response = ....
request.getRequestDispatcher(path).forward(request, response); |
Beta Was this translation helpful? Give feedback.
-
Hi, I don't think there is an analogous feature in Armeria as it doesn't fully support all servlet features.
|
Beta Was this translation helpful? Give feedback.
-
That's a good idea, but it doesn't really fit my scenario |
Beta Was this translation helpful? Give feedback.
I was literally imagining delegating the call to the service layer
I…