# 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
- 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)
  RestClients
  Runtime registry that wires `@RestClient`-annotated interfaces to the build-time-generated implementations.
  RestClients.Factory<T>
  Factory the generated bootstrap registers per API interface.