Package | Description |
---|---|
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 an HttpMessageConverter implementations for handling JSON.
|
org.springframework.http.converter.xml |
Provides an HttpMessageConverter implementations for handling XML.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
BufferedImageHttpMessageConverter.read(Class<? extends BufferedImage> clazz,
HttpInputMessage inputMessage) |
MultiValueMap<String,String> |
FormHttpMessageConverter.read(Class<? extends MultiValueMap<String,?>> clazz,
HttpInputMessage inputMessage) |
T |
HttpMessageConverter.read(Class<? extends T> clazz,
HttpInputMessage inputMessage)
Read an object of the given type form the given input message, and returns it.
|
T |
GenericHttpMessageConverter.read(Type type,
Class<?> contextClass,
HttpInputMessage inputMessage)
Read an object of the given type form the given input message, and returns it.
|
protected Resource |
ResourceHttpMessageConverter.readInternal(Class<? extends Resource> clazz,
HttpInputMessage inputMessage) |
protected abstract T |
AbstractHttpMessageConverter.readInternal(Class<? extends T> clazz,
HttpInputMessage inputMessage)
Abstract template method that reads the actual object.
|
Modifier and Type | Method and Description |
---|---|
protected T |
AbstractWireFeedHttpMessageConverter.readInternal(Class<? extends T> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
Object |
MappingJackson2HttpMessageConverter.read(Type type,
Class<?> contextClass,
HttpInputMessage inputMessage) |
Object |
MappingJacksonHttpMessageConverter.read(Type type,
Class<?> contextClass,
HttpInputMessage inputMessage) |
protected Object |
MappingJackson2HttpMessageConverter.readInternal(Class<?> clazz,
HttpInputMessage inputMessage) |
protected Object |
MappingJacksonHttpMessageConverter.readInternal(Class<?> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
T |
Jaxb2CollectionHttpMessageConverter.read(Type type,
Class<?> contextClass,
HttpInputMessage inputMessage) |
protected T |
SourceHttpMessageConverter.readInternal(Class<? extends T> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for HttpMessageNotReadableException.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
DefaultHandlerExceptionResolver.handleHttpMessageNotReadable(HttpMessageNotReadableException ex,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Handle the case where a message converter
cannot read from a HTTP request.
|
Copyright © 2015. All rights reserved.