Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
490
Other Decks in Programming
See All in Programming
Level up your Gemini CLI - D&D Style!
palladius
1
170
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
310
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
210
認証・認可の基本を学ぼう前編
kouyuume
0
160
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
150
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
170
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
270
CSC509 Lecture 14
javiergs
PRO
0
220
Developing static sites with Ruby
okuramasafumi
0
150
非同期処理の迷宮を抜ける: 初学者がつまづく構造的な原因
pd1xx
1
600
【CA.ai #3】Google ADKを活用したAI Agent開発と運用知見
harappa80
0
270
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
6
1.2k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
GraphQLとの向き合い方2022年版
quramy
50
14k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Balancing Empowerment & Direction
lara
5
780
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
BBQ
matthewcrist
89
9.9k
A designer walks into a library…
pauljervisheath
210
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
YesSQL, Process and Tooling at Scale
rocio
174
15k
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]