|PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES|
This file contains all the changes in documentation in the package
org.springframework.http.converteras colored differences. Deletions are shown
like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
A specialization of HttpMessageConverter that can convert an HTTP request into a target object of a specified generic type. @author Arjen Poutsma @author Rossen Stoyanchev @since 3.2 @see org.springframework.core.ParameterizedTypeReferenceClass GenericHttpMessageConverter, boolean canRead(Type, Class<?>, MediaType)
Indicates whether the given type can be read by this converter. @param type the type to test for readability @param contextClass a context class for the target type, for example a class in which the target type appears in a method signature, can be [email protected] null} @param mediaType the media type to read, can be [email protected] null} if not specified. Typically the value of a [email protected] Content-Type} header. @return [email protected] true} if readable; [email protected] false} otherwiseClass GenericHttpMessageConverter, T read(Type, Class<?>, HttpInputMessage)
Read an object of the given type form the given input message, and returns it. @param type the type of object to return. This type must have previously been passed to the canRead method of this interface, which must have returned [email protected] true}. @param type the type of the target object @param contextClass a context class for the target type, for example a class in which the target type appears in a method signature, can be [email protected] null} @param inputMessage the HTTP input message to read from @return the converted object @throws IOException in case of I/O errors @throws HttpMessageNotReadableException in case of conversion errors