I want to write filter, and get client httprequest
before controller and make some code, depends on URL.
Request can be: HttpRequest
, MultipartHttpServletRequest
, can be POST
or GET
. I need to make request to another REST API, if the URL of this request starts with api
.