Here's my scenario. Using Spring HTTP invoker, HTTP client, basic authentication and storing cookies for subsequent requests (a custom request executor) so I don't have to pass BA for every request. If the cookie expires then I get a 401 (unauthenticated) from the proxy so I want to retry passing the BA in the header again, get the new cookie back, and continue. So I need to configure an HTTP client retry handler. Does anyone know of a good Spring XML file example for configuring this? I'll try to post my current Spring configuration file tomorrow when I'm back at work.
Login or Sign Up
- Log in with