Package | Description |
---|---|
org.springframework.http.client |
Contains an abstraction over client-side HTTP.
|
org.springframework.http.converter |
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
|
org.springframework.http.converter.feed |
Provides HttpMessageConverter implementations for handling Atom and RSS feeds.
|
org.springframework.http.converter.json |
Provides HttpMessageConverter implementations for handling JSON.
|
org.springframework.http.converter.protobuf |
Provides an HttpMessageConverter implementation for handling
Google Protocol Buffers.
|
org.springframework.http.converter.xml |
Provides HttpMessageConverter implementations for handling XML.
|
org.springframework.http.server |
Contains an abstraction over server-side HTTP.
|
org.springframework.mock.http |
Mock implementations of client/server-side HTTP abstractions.
|
org.springframework.mock.http.client |
Mock implementations of client-side HTTP abstractions.
|
org.springframework.web.multipart.support |
Support classes for the multipart resolution framework.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientHttpResponse
Represents a client-side HTTP response.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientHttpResponse
Abstract base for
ClientHttpResponse . |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
BufferedImageHttpMessageConverter.read(java.lang.Class<? extends java.awt.image.BufferedImage> clazz,
HttpInputMessage inputMessage) |
MultiValueMap<java.lang.String,java.lang.String> |
FormHttpMessageConverter.read(java.lang.Class<? extends MultiValueMap<java.lang.String,?>> clazz,
HttpInputMessage inputMessage) |
T |
AbstractHttpMessageConverter.read(java.lang.Class<? extends T> clazz,
HttpInputMessage inputMessage)
This implementation simple delegates to
AbstractHttpMessageConverter.readInternal(Class, HttpInputMessage) . |
T |
HttpMessageConverter.read(java.lang.Class<? extends T> clazz,
HttpInputMessage inputMessage)
Read an object of the given type from the given input message, and returns it.
|
java.lang.Object |
ResourceRegionHttpMessageConverter.read(java.lang.reflect.Type type,
java.lang.Class<?> contextClass,
HttpInputMessage inputMessage) |
T |
GenericHttpMessageConverter.read(java.lang.reflect.Type type,
java.lang.Class<?> contextClass,
HttpInputMessage inputMessage)
Read an object of the given type form the given input message, and returns it.
|
protected ResourceRegion |
ResourceRegionHttpMessageConverter.readInternal(java.lang.Class<?> clazz,
HttpInputMessage inputMessage) |
protected java.lang.Object |
ObjectToStringHttpMessageConverter.readInternal(java.lang.Class<?> clazz,
HttpInputMessage inputMessage) |
byte[] |
ByteArrayHttpMessageConverter.readInternal(java.lang.Class<? extends byte[]> clazz,
HttpInputMessage inputMessage) |
protected Resource |
ResourceHttpMessageConverter.readInternal(java.lang.Class<? extends Resource> clazz,
HttpInputMessage inputMessage) |
protected java.lang.String |
StringHttpMessageConverter.readInternal(java.lang.Class<? extends java.lang.String> clazz,
HttpInputMessage inputMessage) |
protected abstract T |
AbstractHttpMessageConverter.readInternal(java.lang.Class<? extends T> clazz,
HttpInputMessage inputMessage)
Abstract template method that reads the actual object.
|
Modifier and Type | Method and Description |
---|---|
protected T |
AbstractWireFeedHttpMessageConverter.readInternal(java.lang.Class<? extends T> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Class and Description |
---|---|
class |
MappingJacksonInputMessage
HttpInputMessage that can eventually stores a Jackson view that will be used
to deserialize the message. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
AbstractJackson2HttpMessageConverter.read(java.lang.reflect.Type type,
java.lang.Class<?> contextClass,
HttpInputMessage inputMessage) |
java.lang.Object |
AbstractJsonHttpMessageConverter.read(java.lang.reflect.Type type,
java.lang.Class<?> contextClass,
HttpInputMessage inputMessage) |
protected java.lang.Object |
AbstractJackson2HttpMessageConverter.readInternal(java.lang.Class<?> clazz,
HttpInputMessage inputMessage) |
protected java.lang.Object |
AbstractJsonHttpMessageConverter.readInternal(java.lang.Class<?> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
protected com.google.protobuf.Message |
ProtobufHttpMessageConverter.readInternal(java.lang.Class<? extends com.google.protobuf.Message> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
T |
Jaxb2CollectionHttpMessageConverter.read(java.lang.reflect.Type type,
java.lang.Class<?> contextClass,
HttpInputMessage inputMessage) |
protected T |
SourceHttpMessageConverter.readInternal(java.lang.Class<? extends T> clazz,
HttpInputMessage inputMessage) |
T |
AbstractXmlHttpMessageConverter.readInternal(java.lang.Class<? extends T> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Interface and Description |
---|---|
interface |
ServerHttpRequest
Represents a server-side HTTP request.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletServerHttpRequest
ServerHttpRequest implementation that is based on a HttpServletRequest . |
Modifier and Type | Class and Description |
---|---|
class |
MockHttpInputMessage
Mock implementation of
HttpInputMessage . |
Modifier and Type | Class and Description |
---|---|
class |
MockClientHttpResponse
Mock implementation of
ClientHttpResponse . |
Modifier and Type | Class and Description |
---|---|
class |
RequestPartServletServerHttpRequest
ServerHttpRequest implementation that accesses one part of a multipart
request. |
Modifier and Type | Method and Description |
---|---|
HttpInputMessage |
RequestBodyAdvice.beforeBodyRead(HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
Invoked second before the request body is read and converted.
|
HttpInputMessage |
JsonViewRequestBodyAdvice.beforeBodyRead(HttpInputMessage inputMessage,
MethodParameter methodParameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> selectedConverterType) |
HttpInputMessage |
RequestBodyAdviceAdapter.beforeBodyRead(HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
The default implementation returns the InputMessage that was passed in.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
RequestBodyAdvice.afterBodyRead(java.lang.Object body,
HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
Invoked third (and last) after the request body is converted to an Object.
|
java.lang.Object |
RequestBodyAdviceAdapter.afterBodyRead(java.lang.Object body,
HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
The default implementation returns the body that was passed in.
|
HttpInputMessage |
RequestBodyAdvice.beforeBodyRead(HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
Invoked second before the request body is read and converted.
|
HttpInputMessage |
JsonViewRequestBodyAdvice.beforeBodyRead(HttpInputMessage inputMessage,
MethodParameter methodParameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> selectedConverterType) |
HttpInputMessage |
RequestBodyAdviceAdapter.beforeBodyRead(HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
The default implementation returns the InputMessage that was passed in.
|
java.lang.Object |
RequestBodyAdvice.handleEmptyBody(java.lang.Object body,
HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
Invoked second (and last) if the body is empty.
|
java.lang.Object |
RequestBodyAdviceAdapter.handleEmptyBody(java.lang.Object body,
HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType,
java.lang.Class<? extends HttpMessageConverter<?>> converterType)
The default implementation returns the body that was passed in.
|
protected <T> java.lang.Object |
AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(HttpInputMessage inputMessage,
MethodParameter parameter,
java.lang.reflect.Type targetType)
Create the method argument value of the expected parameter type by reading
from the given HttpInputMessage.
|