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
150
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
89
Java REST client with Feign
ilaborie
0
48
3h pour développer un microservice avec SparkJava et Feign
ilaborie
1
440
Other Decks in Programming
See All in Programming
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
130
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
230
Amazon Qを使ってIaCを触ろう!
maruto
0
420
Outline View in SwiftUI
1024jp
1
350
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
350
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.9k
Arm移行タイムアタック
qnighy
0
360
Jakarta EE meets AI
ivargrimstad
0
760
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
260
Tauriでネイティブアプリを作りたい
tsucchinoko
0
380
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
130
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.4k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Fireside Chat
paigeccino
34
3k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
How STYLIGHT went responsive
nonsquared
95
5.2k
The Invisible Side of Design
smashingmag
298
50k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
How to Ace a Technical Interview
jacobian
276
23k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Designing Experiences People Love
moore
138
23k
A designer walks into a library…
pauljervisheath
204
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]