Package org.springframework.http
Contains a basic abstraction over client/server-side HTTP. This package contains the
HttpInputMessage
and HttpOutputMessage
interfaces.Interface Summary Interface Description HttpInputMessage HttpMessage Represents the base interface for HTTP request and response messages.HttpOutputMessage HttpRequest RequestEntity.BodyBuilder Defines a builder that adds a body to the response entity.RequestEntity.HeadersBuilder<B extends RequestEntity.HeadersBuilder<B>> Defines a builder that adds headers to the request entity.ResponseEntity.BodyBuilder Defines a builder that adds a body to the response entity.ResponseEntity.HeadersBuilder<B extends ResponseEntity.HeadersBuilder<B>> Defines a builder that adds headers to the response entity.StreamingHttpOutputMessage Represents a HTTP output message that allows for setting a streaming body.StreamingHttpOutputMessage.Body Defines the contract for bodies that can be written directly to anOutputStream
.Class Summary Class Description CacheControl A builder for creating "Cache-Control" HTTP response headers.HttpEntity<T> Represents an HTTP request or response entity, consisting of headers and body.HttpHeaders A data structure representing HTTP request or response headers, mapping String header names to a list of String values, also offering accessors for common application-level data types.HttpRange Represents an HTTP (byte) range for use with the HTTP"Range"
header.MediaType A subclass ofMimeType
that adds support for quality parameters as defined in the HTTP specification.MediaTypeEditor RequestEntity<T> ResponseEntity<T> Extension ofHttpEntity
that adds aHttpStatus
status code.Enum Summary Enum Description HttpMethod Java 5 enumeration of HTTP request methods.HttpStatus Enumeration of HTTP status codes.HttpStatus.Series Enumeration of HTTP status series.Exception Summary Exception Description InvalidMediaTypeException Exception thrown fromMediaType.parseMediaType(String)
in case of encountering an invalid media type specification String.