David Cobo
6b90c7c872
Adds jackson-jaxb codec
10 years ago
Adrian Cole
79a106f79b
Merge pull request #256 from Netflix/adrian.rebuffer-no-content
...
Fixes NPE when apache client rebuffers content
10 years ago
Adrian Cole
511e8843fb
Fixes NPE when apache client rebuffers content
...
When log level is full, the response body is rebuffered. The Apache
client had a bug where it allowed `toInputStream` to return null. This
fixes that bug and backfills tests for the other two clients.
Fixes #255
10 years ago
Adrian Cole
abe7e124e8
Updates examples to 8.7.0
10 years ago
Adrian Cole
1ed5cd85e2
Merge pull request #252 from Netflix/adrian.version-bump
...
Bumps dependency versions for integrations
10 years ago
Adrian Cole
7971093280
Merge pull request #253 from Netflix/adrian.revert-inputstream-available
...
Avoids InputStream.available when determining if a stream is empty
10 years ago
Adrian Cole
2b79b93a4e
Avoids InputStream.available when determining if a stream is empty
...
InputStream.available isn't a reliable api. This uses an alternative
approach, which is to read the first byte to see if it is present. This
allows us to continue to avoid "No content to map due to end-of-input"
errors, but in a more supportable way.
Fixes #250
10 years ago
Adrian Cole
eb351f843d
Bumps dependency versions for integrations
...
* OkHttp/MockWebServer 2.4.0
* Gson 2.3.1
* Jackson 2.6.0
* Ribbon 2.1.0
* SLF4J 1.7.12
10 years ago
Adrian Cole
c5ee6034ba
Merge pull request #251 from Netflix/fix-gitter-webhook
...
Fixes gitter webhook
10 years ago
Adrian Cole
4e7cfa98bb
Fixes gitter webhook
...
Gitter webhook had the wrong URI
10 years ago
Adrian Cole
64bda9dd99
Merge pull request #246 from Netflix/adrian.base-api
...
Adds base api support via single-inheritance interfaces
10 years ago
bcrow
1f0464eba1
Fixes end-of-input exception when decoding an empty json body
...
No content to map due to end-of-input when decoding empty returns using JacksonDecoder.
Added UnitTests to show JacksonDecoder error. Added unit test to GsonDecoder to verify behavior is as expected.
Added a check for available inputStream data before trying to read into an Object.
closes #247
10 years ago
Adrian Cole
0aac921f31
Adds base api support via single-inheritance interfaces
...
Before this change, apis that follow patterns across a service could
only be modeled by copy/paste/find/replace. Especially with a large
count, this is monotonous and error prone.
This change introduces support for base apis via single-inheritance
interfaces. Users ensure their target interface bind any type variables
and as a result have little effort to create boilerplate apis.
Ex.
```java
@Headers("Accept: application/json")
interface BaseApi<V> {
@RequestLine("GET /api/{key}")
V get(@Param("key") String);
@RequestLine("GET /api")
List<V> list();
@Headers("Content-Type: application/json")
@RequestLine("PUT /api/{key}")
void put(@Param("key") String, V value);
}
interface FooApi extends BaseApi<Foo> { }
interface BarApi extends BaseApi<Bar> { }
```
closes #133
10 years ago
Adrian Cole
cd0c1080df
Merge pull request #245 from Netflix/adrian.travis-gitter
...
Adds gitter webhook for travis
10 years ago
Adrian Cole
66208ffe9c
Adds gitter webhook for travis
10 years ago
Adrian Cole
cf4675da88
Merge pull request #244 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
10 years ago
The Gitter Badger
201652ff26
Added Gitter badge
10 years ago
Adrian Cole
34e265aefd
bump changelog
10 years ago
unknown
e32cdf4858
Added possibility to leave slash encoded in path parameters
10 years ago
Adrian Cole
44459dae6a
Merge pull request #242 from jacob-meacham/bugfix/multiple-regexes
...
Fix regex support when there are multiple @Path regexes
10 years ago
Jacob Meacham
5c84864d78
Fix regex support when there are multiple @Path regexes
10 years ago
Adrian Cole
2f50cf9667
Merge pull request #240 from jacob-meacham/bugfix/trailing-slash-on-class
...
Fix an issue with trailing slashes in @Path annotations on classes
10 years ago
Adrian Cole
f378d9aab9
Merge pull request #241 from jacob-meacham/bugfix/regex-path-param
...
Strip regex allowed by the jaxrs spec.
10 years ago
Adrian Cole
b76459168e
Merge pull request #239 from Widen/master
...
Correct retry handling for repeatable requests
10 years ago
Jacob Meacham
226b73a5f1
Strip regex allowed by the jaxrs spec.
10 years ago
Jacob Meacham
b85d5c1efc
Fix an issue with trailing slashes in @Path annotations on classes
10 years ago
Uriah Carpenter
c18c2ee898
Correct retry handling for repeatable requests
...
Previously, the Retryer instance provided to the Builder was simply reused, but the instance keeps per-request state, causing repeatable requests to stop being retried. Fixes #236
10 years ago
Thiago Moretto
0bc994e7ca
Removes trailing slash from the URL just when just present
10 years ago
Adrian Cole
c32c8eb166
Documents how to send POST bodies
...
@brianm noticed we were missing docs on how to use POST.
10 years ago
Tristan Burch
1705c15046
Support for Apache HttpClient as Feign client
10 years ago
Adrian Cole
b8de1e87b8
Merge pull request #231 from cognitree/deflate-encoding
...
Adds deflate encoding support
10 years ago
Adrian Cole
facb4a7351
Merge pull request #232 from cognitree/jackson-deprecared-api
...
Fixes deprecated method usage of Jackson library
10 years ago
Santhosh Kumar Tekuri
2d06330b49
Adds deflate encoding support
10 years ago
Santhosh Kumar Tekuri
cbdb0b02a2
Fixes deprecated method usage of Jackson library
...
ObjectMapper#writerWithType is depreated. Code changed to use
ObjectMapper#writerFor method.
10 years ago
Adrian Cole
8dddb05a57
Merge pull request #230 from cognitree/space-encoding-in-urlparam
...
Corrects encoding of space in URL parameter
10 years ago
Santhosh Kumar Tekuri
ab6e60397d
Corrects encoding of space in URL parameter
...
According to rfc2396, space in url should be encoded as "%20" instead
of "+".
Closes #225
10 years ago
Adrian Cole
cbf15f05a1
Merge pull request #228 from Netflix/adrian.easy-custom-request
...
Allows customized request construction by exposing Request.create()
10 years ago
Adrian Cole
80f047534c
Allows customized request construction by exposing Request.create()
...
Users may wish to override percent encoding of query parameters.
closes #227
10 years ago
Adrian Cole
362f5e670f
Merge pull request #224 from jnaous/fix-retry-after-decoder
...
Correct time decoding in RetryAfterDecoder
10 years ago
Jad Naous
28b3deec59
Correct time decoding in RetryAfterDecoder
...
currentTimeNanos was not returning nanos.
10 years ago
Adrian Cole
c678daa680
Merge pull request #222 from spencergibb/ribbon-client-replace-first
...
RibbonClient use replaceFirst to remove host rather than other parts of ...
10 years ago
Spencer Gibb
9c69c0a530
RibbonClient use replaceFirst to remove host rather than other parts of the uri.
...
refactor RibbonClient to clean url in static method
fixes gh-221
10 years ago
Adrian Cole
27dc3739a0
Merge pull request #219 from Netflix/adrian.perf-example
...
Demonstrates impact of advice to cache Feign.newInstance
10 years ago
Adrian Cole
83f54c6fa6
Demonstrates impact of advice to cache Feign.newInstance
...
Shows relative performance of caching various points of construction of
a Feign Api. Adds a mesobenchmark of actually performing http requests,
so that caching performance can be placed in context.
See #214
10 years ago
Adrian Cole
9ccd1c0b64
Fixes typos
10 years ago
Adrian Cole
c2fee60164
Corrects notes on examples
...
closes #218
10 years ago
Adrian Cole
99cef807c8
Merge pull request #215 from rspieldenner/travis_cache
...
Enable caching for gradle dependencies
10 years ago
Adrian Cole
b660145238
Merge pull request #217 from Netflix/adrian.benchmarks
...
Adds JMH benchmark module
10 years ago
Adrian Cole
7612e9d6b6
Adds JMH benchmark module
...
Starts with Contract tests as this was suggested a place we may need
caching.
See #214
10 years ago
Rob Spieldenner
443669df20
Enable caching for gradle dependencies
10 years ago