{title:'juneau-rest-common', created:'9.0.0'}

##### Maven Dependency

| <dependency> | <groupId>org.apache.juneau</groupId> | <artifactId>juneau-rest-common</artifactId> | <version>9.0.0</version> | </dependency>

##### Java Library

| juneau-rest-common-9.0.0.jar

##### OSGi Module

| org.apache.juneau.rest.common_9.0.0.jar

The {@link oaj.http} package contains a slew of useful extensions to the Apache HttpComponents libraries and define APIs used extensively in the REST server and client APIs.

- {@link oaj.http} - Utility classes used for HTTP parts/headers/entities.
- {@link oaj.http.annotation} - Swagger-based annotations used on both server-side APIs and client-side proxy interfaces.
- {@link oaj.http.entity} - HTTP entity classes.
- {@link oaj.http.header} - HTTP header classes.
- {@link oaj.http.part} - HTTP query/form-data/path classes.
- {@link oaj.http.remote} - Remote proxy interface API
- {@link oaj.http.resource} - HTTP resource classes.
- {@link oaj.http.response} - HTTP response classes.

These APIs extend from the Apache HttpComponents libraries and can be used with libraries based on it such as Apache HttpClient. The REST Client API described later is built on top of Apache HttpClient and many of the classes defined in this package make up integral components of that API. Likewise, the APIs defined here are also used in the REST Server APIs also described later.