org.springframework.http
Interface HttpMessage

All Known Subinterfaces:
ClientHttpRequest, ClientHttpResponse, HttpInputMessage, HttpOutputMessage, HttpRequest, ServerHttpRequest, ServerHttpResponse
All Known Implementing Classes:
AbstractBufferingClientHttpRequest, AbstractClientHttpRequest, BufferingClientHttpRequestWrapper, BufferingClientHttpResponseWrapper, CommonsClientHttpRequest, CommonsClientHttpResponse, FormHttpMessageConverter.MultipartHttpOutputMessage, HttpComponentsClientHttpRequest, HttpComponentsClientHttpResponse, HttpRequestWrapper, InterceptingClientHttpRequest, RequestPartServletServerHttpRequest, ServletServerHttpRequest, ServletServerHttpResponse, SimpleBufferingClientHttpRequest, SimpleClientHttpResponse, SimpleStreamingClientHttpRequest

public interface HttpMessage

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

Since:
3.0
Author:
Arjen Poutsma

Method Summary
 HttpHeaders getHeaders()
          Return the headers of this message.
 

Method Detail

getHeaders

HttpHeaders getHeaders()
Return the headers of this message.

Returns:
a corresponding HttpHeaders object