# Uses of Interface
org.springframework.web.client.RestClient.ResponseSpec

Packages that use RestClient.ResponseSpec
Package
Description
org.springframework.web.client
Core package of the client-side web support.

## Uses of RestClient.ResponseSpec in org.springframework.web.client

Methods in org.springframework.web.client that return RestClient.ResponseSpec
Modifier and Type
Method
Description
`RestClient.ResponseSpec`
RestClient.ResponseSpec.`onStatus(Predicate<HttpStatusCode> statusPredicate, RestClient.ResponseSpec.ErrorHandler errorHandler)`
Provide a function to map specific error status codes to an error handler.
`RestClient.ResponseSpec`
RestClient.ResponseSpec.`onStatus(ResponseErrorHandler errorHandler)`
Provide a function to map specific error status codes to an error handler.
`RestClient.ResponseSpec`
RestClient.RequestHeadersSpec.`retrieve()`
Enter the retrieve workflow and use the returned `RestClient.ResponseSpec` to select from a number of built-in options to extract the response.