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

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

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

Classes in org.springframework.web.client with type parameters of type RestClient.RequestHeadersSpec
Modifier and Type
Interface
Description
`static interface`
`RestClient.RequestHeadersSpec<S extends RestClient.RequestHeadersSpec<S>>`
Contract for specifying request headers leading up to the exchange.
`static interface`
`RestClient.RequestHeadersUriSpec<S extends RestClient.RequestHeadersSpec<S>>`
Contract for specifying request headers and URI for a request.
`static interface`
`RestClient.UriSpec<S extends RestClient.RequestHeadersSpec<?>>`
Contract for specifying the URI for a request.
Subinterfaces of RestClient.RequestHeadersSpec in org.springframework.web.client
Modifier and Type
Interface
Description
`static interface`
`RestClient.RequestBodySpec`
Contract for specifying request headers and body leading up to the exchange.
`static interface`
`RestClient.RequestBodyUriSpec`
Contract for specifying request headers, body and URI for a request.
`static interface`
`RestClient.RequestHeadersUriSpec<S extends RestClient.RequestHeadersSpec<S>>`
Contract for specifying request headers and URI for a request.
Method parameters in org.springframework.web.client with type arguments of type RestClient.RequestHeadersSpec
Modifier and Type
Method
Description
`RestClient.Builder`
RestClient.Builder.`defaultRequest(Consumer<RestClient.RequestHeadersSpec<?>> defaultRequest)`
Provide a consumer to customize every request being built.