Package org.springframework.http
Interface HttpMessage
- All Known Subinterfaces:
ClientHttpRequest
,ClientHttpRequest
,ClientHttpResponse
,ClientHttpResponse
,HttpInputMessage
,HttpOutputMessage
,HttpRequest
,MockServerClientHttpResponse
,ReactiveHttpInputMessage
,ReactiveHttpOutputMessage
,ServerHttpRequest
,ServerHttpRequest
,ServerHttpResponse
,ServerHttpResponse
,StreamingHttpOutputMessage
,ZeroCopyHttpOutputMessage
- All Known Implementing Classes:
AbstractClientHttpRequest
,AbstractClientHttpRequest
,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
-
Method Details
-
getHeaders
HttpHeaders getHeaders()Return the headers of this message.- Returns:
- a corresponding HttpHeaders object (never
null
)
-