MicroProfile Rest Client

The MicroProfile Rest Client specification provides a type-safe mechanism for invoking RESTful services.

You can use MicroProfile Config properties to provide configuration values for MicroProfile Rest Client. For more information, see MicroProfile Config Properties: Rest Client.
With the release of the MicroProfile REST Client 3.0 feature (mpRestClient-3.0), the underlying MicroProfile REST Client implementation for Open Liberty changes from Apache CXF to RESTEasy. This change results in certain API behavior changes that might require you to update your application code if you are updating your application from using MicroProfile REST Client 2.0 to using MicroProfile REST Client 3.0. For more information, see Differences between MicroProfile REST Client 3.0 and 2.0.

Enabling this feature

To enable the MicroProfile Rest Client 3.0 feature, add the following element declaration into your server.xml file, inside the featureManager element:


Feature configuration elements

Stable API packages provided by this feature

  • org.eclipse.microprofile.rest.client

  • org.eclipse.microprofile.rest.client.annotation

  • org.eclipse.microprofile.rest.client.ext

  • org.eclipse.microprofile.rest.client.inject

  • org.eclipse.microprofile.rest.client.spi

  • org.reactivestreams

Supported Java versions

  • JavaSE-1.8

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-21.0

Features that enable this feature

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

io.openliberty.mpRestClient-3.0; type="osgi.subsystem.feature"