HTTP header
Name
Name of the message header.
Required
Expression
SpEL expression that is evaluated in order to determine the header value.
The evaluation context will be populated with an org.springframework.http.HttpEntity
instance as the root object, and the following expression variables will also be made available:
#requestParams - a MultiValueMap<String, String>
containing the request parameters from the query string or posted form data
#pathVariables - a Map<String, String>
containing the URI path placeholders and their values
#matrixVariables - a Map<String, MultiValueMap<String, String>>
containing the matrix variables according to Spring MVC specification
#requestAttributes - the org.springframework.web.context.request.RequestAttributes
associated with the current request
#requestHeaders - the org.springframework.http.HttpHeaders
object from the current request
#cookies - a Map<String, javax.servlet.http.Cookie>
containing the cookies from the current request
Required