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()
Return the HTTP status series of this status code.
|
static HttpStatus.Series |
HttpStatus.Series.valueOf(HttpStatus status)
Return the enum constant of this type with the corresponding series.
|
static HttpStatus.Series |
HttpStatus.Series.valueOf(int statusCode)
Return the enum constant of this type with the corresponding series.
|
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. |