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
110
Java REST client with Feign
ilaborie
0
53
3h pour développer un microservice avec SparkJava et Feign
ilaborie
1
480
Other Decks in Programming
See All in Programming
React 使いじゃなくても知っておきたい教養としての React
oukayuka
18
5.5k
Understanding Kotlin Multiplatform
l2hyunwoo
0
250
「リーダーは意思決定する人」って本当?~ 学びを現場で活かす、リーダー4ヶ月目の試行錯誤 ~
marina1017
0
210
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
200
新世界の理解
koriym
0
130
ワープロって実は計算機で
pepepper
2
1.3k
オホーツクでコミュニティを立ち上げた理由―地方出身プログラマの挑戦 / TechRAMEN 2025 Conference
lemonade_37
2
460
GUI操作LLMの最新動向: UI-TARSと関連論文紹介
kfujikawa
0
790
Terraform やるなら公式スタイルガイドを読もう 〜重要項目 10選〜
hiyanger
12
3k
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
750
decksh - a little language for decks
ajstarks
4
21k
Go製CLIツールをnpmで配布するには
syumai
2
1.2k
Featured
See All Featured
Embracing the Ebb and Flow
colly
86
4.8k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Measuring & Analyzing Core Web Vitals
bluesmoon
8
550
Code Reviewing Like a Champion
maltzj
524
40k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.3k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
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]