Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Restlet

 Restlet

Grzegorz Godlewski

March 06, 2012
Tweet

More Decks by Grzegorz Godlewski

Other Decks in Programming

Transcript

  1. 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}, ...]
  2. 4 Restlet Architektura Dostępne edycje: Java SE / Java EE

    / OSGI Google App Engine / Google Web Toolkit / Android
  3. 5 Restlet Klient • Prosty klient - ClientResource • Interfejsy

    • Reprezentacje - text / html / json / xml /atom • Konwersja: Jackson/JAXB
  4. 11 [email protected] http://gitgis.com - born to code Dziękuje za uwagę

    https://github.com/ggodlewski/restlet-szjug http://restlet.org