JAX-RS client redirect
Overview
This is about providing a mechanism for following http redirects when using the JAX-RS client from RESTEasy. Currently http redirects are not considered.
Issue Metadata
Related Issues:
Dev Contacts:
QE Contacts:
Affected Projects or Components:
-
WildFly
-
RESTEasy
Requirements
-
RESTEasy will offer a mechanism for enabling following redirects on clients. This will work with an underlying http engine that already supports redirects (Apache HTTP Client) and will be triggered by a invoking a setFollowRedirects(boolean b) method on the the http engine instance. Default behavior won’t change.
-
WildFly will allow using the new RESTEasy functionality
Test Plan
There’re few new testcases in RESTEasy testsuite covering the scenario. See https://github.com/resteasy/Resteasy/pull/1305/files and https://github.com/resteasy/Resteasy/commit/2f6db580361b318fe6af691ec891a698cb0a9206