| Interface | Description |
|---|---|
| ResultWriter |
Writes a result or error.
|
| Class | Description |
|---|---|
| CollectionResponse<T> |
Collection response to be returned by an endpoint implementation method that wants to support
pagination (and other metadata about returned collection in the future).
|
| CollectionResponse.Builder<T> |
Builder for
CollectionResponse. |
| EndpointsPrettyPrinter |
A
PrettyPrinter that mimics legacy formatting. |
| ErrorMap |
Maps Java SPI errors to errors to error details seen in production.
|
| ResponseUtil |
Utility methods for writing responses.
|
| RestResponseResultWriter |
A
ResultWriter that writes JSON-REST errors, for use with EndpointsServlet. |
| ServletResponseResultWriter |
Writes a result to a servlet response.
|
| Exception | Description |
|---|---|
| BadRequestException |
Bad request exception that is mapped to a 400 response.
|
| ConflictException |
Conflict exception that is mapped to a 409 response.
|
| ForbiddenException |
Forbidden exception that is mapped to a 403 response.
|
| InternalServerErrorException |
Internal server exception that is mapped to a 500 response.
|
| NotFoundException |
Not found exception that is mapped to a 404 response.
|
| ServiceUnavailableException |
Service Unavailable response for the API, mapped to a HTTP 503 response.
|
| UnauthorizedException |
Unauthorized exception that is mapped to a 401 response.
|