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
170
0
Share
Feign Live
igor
April 20, 2016
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
57
3h pour développer un microservice avec SparkJava et Feign
ilaborie
1
510
Other Decks in Programming
See All in Programming
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
290
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
170
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
450
Inside Stream API
skrb
1
640
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.6k
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
CSC307 Lecture 17
javiergs
PRO
0
310
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
340
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
590
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
320
Modding RubyKaigi for Myself
yui_knk
0
890
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
140
Featured
See All Featured
Fireside Chat
paigeccino
42
3.9k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
170
Agile that works and the tools we love
rasmusluckow
331
21k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
160
Optimizing for Happiness
mojombo
378
71k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
300
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
370
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
160
We Are The Robots
honzajavorek
0
240
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
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]