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
160
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
99
Java REST client with Feign
ilaborie
0
52
3h pour développer un microservice avec SparkJava et Feign
ilaborie
1
450
Other Decks in Programming
See All in Programming
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
950
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
140
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
11
1.9k
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
35
14k
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
120
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
740
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
150
定理証明プラットフォーム lapisla.net
abap34
1
1.8k
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
180
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
490
Pulsar2 を雰囲気で使ってみよう
anoken
0
230
Featured
See All Featured
Facilitating Awesome Meetings
lara
51
6.2k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Typedesign – Prime Four
hannesfritz
40
2.5k
For a Future-Friendly Web
brad_frost
176
9.5k
Building Your Own Lightsaber
phodgson
104
6.2k
Music & Morning Musume
bryan
46
6.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
9
430
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
What's in a price? How to price your products and services
michaelherold
244
12k
Bash Introduction
62gerente
610
210k
A Philosophy of Restraint
colly
203
16k
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]