feign-jaxrs

Library provides very basic support for JAX-RS 2.0 `@BeanParam`

License

License

Categories

Categories

Feign Net HTTP Clients
GroupId

GroupId

ru.i-novus.components
ArtifactId

ArtifactId

feign-jaxrs
Last Version

Last Version

2.0
Release Date

Release Date

Type

Type

jar
Description

Description

feign-jaxrs
Library provides very basic support for JAX-RS 2.0 `@BeanParam`
Project Organization

Project Organization

I-Novus LLC

Download feign-jaxrs

How to add to project

<!-- https://jarcasting.com/artifacts/ru.i-novus.components/feign-jaxrs/ -->
<dependency>
    <groupId>ru.i-novus.components</groupId>
    <artifactId>feign-jaxrs</artifactId>
    <version>2.0</version>
</dependency>
// https://jarcasting.com/artifacts/ru.i-novus.components/feign-jaxrs/
implementation 'ru.i-novus.components:feign-jaxrs:2.0'
// https://jarcasting.com/artifacts/ru.i-novus.components/feign-jaxrs/
implementation ("ru.i-novus.components:feign-jaxrs:2.0")
'ru.i-novus.components:feign-jaxrs:jar:2.0'
<dependency org="ru.i-novus.components" name="feign-jaxrs" rev="2.0">
  <artifact name="feign-jaxrs" type="jar" />
</dependency>
@Grapes(
@Grab(group='ru.i-novus.components', module='feign-jaxrs', version='2.0')
)
libraryDependencies += "ru.i-novus.components" % "feign-jaxrs" % "2.0"
[ru.i-novus.components/feign-jaxrs "2.0"]

Dependencies

compile (5)

Group / Artifact Type Version
io.github.openfeign : feign-core jar 10.10.1
io.github.openfeign : feign-jaxrs2 jar 10.10.1
javax.ws.rs : javax.ws.rs-api jar 2.1.1
com.google.guava : guava jar 29.0-jre
org.apache.commons : commons-lang3 jar 3.10

test (2)

Group / Artifact Type Version
org.spockframework : spock-core jar 1.3-groovy-2.5
org.codehaus.groovy : groovy jar 3.0.4

Project Modules

There are no modules declared in this project.

Intent

This library provides very basic support for JAX-RS 2.0 @BeanParam.

Limitations

  • You can have at most one @BeanParam on a method
  • @FormParam is not supported on beans at this time
  • You may not have an body entity and a @BeanParam, though you should almost never have a need for this configuration

Usage

You can create a Feign client using the JAXRS2Profile which is effectively a Feign.Builder.

TestResource client = JAXRS2Profile.create()
    .encoder(new GsonEncoder())
    .target(TestResource.class, "localhost")
ru.i-novus.components

I-Novus (Ай-Новус)

We design complex and huge software solutions

Versions

Version
2.0
1.0