JAX-RS client redirect

In  jaxrs

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

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