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
Restlet
Search
Grzegorz Godlewski
March 06, 2012
Programming
0
81
Restlet
Grzegorz Godlewski
March 06, 2012
Tweet
Share
More Decks by Grzegorz Godlewski
See All by Grzegorz Godlewski
API Driven Developement
ggodlewski
1
430
Piwne wprowadzenie do Neo4J
ggodlewski
0
2k
Other Decks in Programming
See All in Programming
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
410
Code Reviews
bkuhlmann
4
900
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
380
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
990
Git Lint
bkuhlmann
4
760
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
Next.js App Router
quramy
11
1.8k
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
1
350
2 週間で Twitter Bot を作ってみた
contour_gara
0
770
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
420
Tailwind CSSを本気でカスタマイズする方法
fsubal
14
5.5k
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1k
Featured
See All Featured
BBQ
matthewcrist
80
8.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
How GitHub (no longer) Works
holman
305
140k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
222
21k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
Done Done
chrislema
178
15k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
The Cult of Friendly URLs
andyhume
74
5.7k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Transcript
Restlet Grzegorz Godlewski
2 Restlet
3 Restlet REST Request: URL: http://example.com/books/book1 HTTP Method: GET/POST/PUT/DELETE HTTP
Accept: MediaType - application/json, text/xml, text/html itp. HTTP Accept-Charset/Accept-Encoding/Accept-Language Response: HTTP Status: 2xx/3xx/4xx/5xx HTTP Content-type: MediaType Dane: [{'xxx':yyy}, ...]
4 Restlet Architektura Dostępne edycje: Java SE / Java EE
/ OSGI Google App Engine / Google Web Toolkit / Android
5 Restlet Klient • Prosty klient - ClientResource • Interfejsy
• Reprezentacje - text / html / json / xml /atom • Konwersja: Jackson/JAXB
6 Restlet Serwer • Application • Router • Filter •
ServerResource • JAX-RS - JSR311
7 Restlet Bezpieczeństwo • Autenticator • Verifier • Authorizer •
Enroler
8 Restlet Oauth 2.0 2-legged OAuth 3-legged OAuth
9 Restlet Na servlecie • web.xml • ServletConfig • Guice
• ServletAdapter
10 Restlet Rozszerzenia http://restlet.org/learn/guide/2.1/introduction/wh ats-new/extensions
11
[email protected]
http://gitgis.com - born to code Dziękuje za uwagę
https://github.com/ggodlewski/restlet-szjug http://restlet.org