| Class | Description |
|---|---|
| AbstractRestClientBase |
Base class for all Crafter REST clients.
|
| BaseRestExceptionHandlers |
Class that provides the basic
ExceptionHandlers for Crafter REST services. |
| HttpMessageConvertingResponseErrorHandler |
ResponseErrorHandler that converts the body of a response with error status
code using HttpMessageConverters, and then throws a
RestServiceException with the deserialized response body as the errorDetails. |
| HttpMessageConvertingResponseWriter |
Writes the response using a
HttpMessageConverter chosen depending on
the acceptable media types from the request (most of the code is just a copy from Spring's AbstractMessageConverterMethodProcessor). |
| LoggingRequestInterceptor |
REST client request interceptor that logs the whole request and response.
|
| RestServiceUtils |
Utility methods for RESTful services.
|
| RestTemplate |
Simple extension of
RestTemplate that adds the following custom
functionality: |
| Result |
Very simple class that can be returned by REST API methods to indicate a result with a message, generally for success.
|
| Exception | Description |
|---|---|
| RestServiceException |
Exception thrown when an error is received from a REST service.
|
Copyright © 2020 CrafterCMS. All rights reserved.