Top Description Methods
org.springframework.http

public Interface HttpMessage

Known Direct Subinterfaces
org.springframework.http.HttpOutputMessage, org.springframework.http.HttpRequest, org.springframework.http.ReactiveHttpInputMessage, org.springframework.http.ReactiveHttpOutputMessage, org.springframework.http.HttpInputMessage

Represents the base interface for HTTP request and response messages. Consists of HttpHeaders, retrievable via getHeaders().
Author
Arjen Poutsma
Since
3.0

Method Summary

Modifier and TypeMethod and Description
public HttpHeaders

Returns:

a corresponding HttpHeaders object (never null)
getHeaders
()

Return the headers of this message.

Method Detail

getHeadersback to summary
public HttpHeaders getHeaders()

Return the headers of this message.

Returns:HttpHeaders

a corresponding HttpHeaders object (never null)