Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Feign Live
Search
igor
April 20, 2016
Programming
0
140
Feign Live
igor
April 20, 2016
Tweet
Share
More Decks by igor
See All by igor
Lazy Loading en Just Angular : Aïe ?
ilaborie
0
84
Java REST client with Feign
ilaborie
0
38
3h pour développer un microservice avec SparkJava et Feign
ilaborie
1
390
Other Decks in Programming
See All in Programming
Git Lint
bkuhlmann
4
760
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
1k
Code Reviews
bkuhlmann
4
890
AmperとFleetを使ったAndroidアプリ
yoppie
0
250
雑に思考を整理する技術と効能
konifar
62
30k
SIMD Parallel Programming with the Vector API
josepaumard
0
220
Snowflakeで眠ったデータを起こそう!
estie
0
130
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
430
Going beyond Apache Parquet's default settings
xhochy
0
120
AppRouter Panel Talk
yosuke_furukawa
PRO
1
450
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
380
Elm 0.19.0 Changes
bkuhlmann
0
490
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
29
6.4k
Building Adaptive Systems
keathley
32
1.9k
Agile that works and the tools we love
rasmusluckow
325
20k
The Cult of Friendly URLs
andyhume
74
5.7k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Designing the Hi-DPI Web
ddemaree
276
33k
Writing Fast Ruby
sferik
622
60k
The Mythical Team-Month
searls
216
42k
Unsuck your backbone
ammeep
663
57k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
Transcript
#DevoxxFR Feign(ant) in Action The Java REST client Igor Laborie
<
[email protected]
> @ilaborie 20/04/2016 #feign
#DevoxxFR Igor Laborie Expert Web & Java
[email protected]
@ilaborie $
whoami
#DevoxxFR com.netflix.feign:feign-core:8.16.0 * for feign-core, others extensions had few https://github.com/Netflix/feign
Apache License v2.0 Java 7+, Java 8 friendly No dependencies* #feign #sparkjava
#DevoxxFR Why Feign ? #feign
#DevoxxFR Live Coding https://github.com/ilaborie/feign-live #feign
#DevoxxFR Body Encoder & decoder It’s easy to create custom
encoder/decoder, error decoder. public static CatClient create(String url) { return Feign.builder() .encoder(new GsonEncoder()) .decoder(new GsonDecoder()) .target(CatClient.class, url); } #feign Available extensions: GSON, Jackson, JAXB, Sax
#DevoxxFR Others extensions ... Implement Contract for custom annotations (e.g.
JAX-RS) Use another HTTP client implements Client Apache HttpClient: feign-httpclient OkHttp: feign-okhttp Also have integration for SLF4J logging: feign-slf4j Ribbon: feign-ribbon Histryx circuit breaker: feign-histryx ... #feign #sparkjava
#DevoxxFR #feign Thanks ! We are Hiring
[email protected]