# Package com.codename1.io.rest

package com.codename1.io.rest

Simplified REST API

A builder pattern based API to make REST requests with a terse API. These mask the parsing, networking and error handling behind one simplified call.

- Related Packages
  Package
  Description
  com.codename1.io
  Networking, Storage, Filesystem & related API's
  com.codename1.io.gzip
  gzip support based on https://github.com/ymnk/jzlib
  com.codename1.io.oidc
  com.codename1.io.services
  Default WebService implementations
  com.codename1.io.tar
  Tar support allowing us to package multiple separate files into a single package which is useful in supporting hierarchies in a portable way.
- Class
  Description
  ErrorCodeHandler<T>
  A generic error callback interface for an error code returned from the server
  RequestBuilder
  This class is used to build, invoke the http request and to get the http response
  Response<T>
  The http Response class
  Rest
  This class is used to create the Http RequestBuilder(get/post/head/options/delete/put)