# Package com.codename1.annotations.rest

package com.codename1.annotations.rest

- Related Packages
  Package
  Description
  com.codename1.annotations
  Codename One specific Java annotations used by the build pipeline and the ParparVM bytecode translator to mark methods and classes for special treatment -- e.g.
- Annotation Types
  Class
  Description
  Body
  Marks an interface method parameter as the request body.
  Cookie
  Binds an interface method parameter to a `Cookie` request-header entry.
  DELETE
  HTTP `DELETE` request.
  GET
  HTTP `GET` request.
  Header
  Binds an interface method parameter to an HTTP request header.
  PATCH
  HTTP `PATCH` request.
  Path
  Binds an interface method parameter to a `{name}` placeholder in the URL path declared on the verb annotation.
  POST
  HTTP `POST` request.
  PUT
  HTTP `PUT` request.
  Query
  Binds an interface method parameter to a URL query-string entry.
  RestClient
  Marks an interface as a REST client that the build-time annotation processor wires up to a generated network implementation.