Interface HttpMessage

All Known Subinterfaces:
ClientHttpRequest, ClientHttpRequest, ClientHttpResponse, ClientHttpResponse, HttpInputMessage, HttpOutputMessage, HttpRequest, MockServerClientHttpResponse, ReactiveHttpInputMessage, ReactiveHttpOutputMessage, RestClient.RequestHeadersSpec.ConvertibleClientHttpResponse, ServerHttpRequest, ServerHttpRequest, ServerHttpResponse, ServerHttpResponse, StreamingHttpOutputMessage, ZeroCopyHttpOutputMessage
All Known Implementing Classes:
AbstractClientHttpRequest, AbstractClientHttpRequest, AbstractClientHttpResponse, AbstractClientHttpResponse, AbstractListenerServerHttpResponse, AbstractServerHttpRequest, AbstractServerHttpResponse, ClientHttpRequestDecorator, ClientHttpResponseDecorator, DelegatingServerHttpResponse, HttpHeadResponseDecorator, HttpRequestWrapper, MappingJacksonInputMessage, MockClientHttpRequest, MockClientHttpRequest, MockClientHttpResponse, MockClientHttpResponse, MockHttpInputMessage, MockHttpOutputMessage, MockServerHttpRequest, MockServerHttpResponse, RequestPartServletServerHttpRequest, ServerHttpRequestDecorator, ServerHttpResponseDecorator, ServletServerHttpRequest, ServletServerHttpResponse

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

    Modifier and Type
    Method
    Description
    Return the headers of this message.
  • Method Details

    • getHeaders

      HttpHeaders getHeaders()
      Return the headers of this message.
      Returns:
      a corresponding HttpHeaders object (never null)