A common pattern I see with Spring + RequestFactory is to change parameters on the Factory before using restTemplate with said requestFactory.
With Spring5, and apach