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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
igor
April 20, 2016
Programming
160
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
55
3h pour développer un microservice avec SparkJava et Feign
ilaborie
1
500
Other Decks in Programming
See All in Programming
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
260
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
2
600
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
250
感情を設計する
ichimichi
5
1.4k
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.4k
10 Tips of AWS ~Gen AI on AWS~
licux
5
330
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
260
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
280
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
120
CDK Deployのための ”反響定位”
watany
4
710
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
130
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.8k
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
110
Why Our Code Smells
bkeepers
PRO
340
58k
How to make the Groovebox
asonas
2
2.1k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
250
Paper Plane (Part 1)
katiecoart
PRO
0
6.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
How to Ace a Technical Interview
jacobian
281
24k
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]