Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
org.springframework.web.client |
Core package of the client-side web support.
|
Modifier and Type | Method and Description |
---|---|
HttpStatus.Series |
HttpStatus.series()
Returns the HTTP status series of this status code.
|
static HttpStatus.Series |
HttpStatus.Series.valueOf(HttpStatus status) |
static HttpStatus.Series |
HttpStatus.Series.valueOf(int status) |
static HttpStatus.Series |
HttpStatus.Series.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpStatus.Series[] |
HttpStatus.Series.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtractingResponseErrorHandler.setSeriesMapping(java.util.Map<HttpStatus.Series,java.lang.Class<? extends RestClientException>> seriesMapping)
Set the mapping from HTTP status series to
RestClientException subclass. |