This commit is contained in:
Rossen Stoyanchev
2018-05-26 09:24:23 -04:00
parent 3ede3a4b34
commit 2acf91a438
8 changed files with 183 additions and 127 deletions

View File

@@ -23,6 +23,33 @@ import org.springframework.core.codec.Encoder;
* Extension of {@link CodecConfigurer} for HTTP message reader and writer
* options relevant on the client side.
*
* <p>HTTP message readers for the following are registered by default:
* <ul>{@code byte[]}
* <li>{@link java.nio.ByteBuffer}
* <li>{@link org.springframework.core.io.buffer.DataBuffer DataBuffer}
* <li>{@link org.springframework.core.io.Resource Resource}
* <li>{@link String}
* <li>{@link org.springframework.util.MultiValueMap
* MultiValueMap&lt;String,String&gt;} for form data
* <li>JSON and Smile, if Jackson is present
* <li>XML, if JAXB2 is present
* <li>Server-Sent Events
* </ul>
*
* <p>HTTP message writers registered by default:
* <ul>{@code byte[]}
* <li>{@link java.nio.ByteBuffer}
* <li>{@link org.springframework.core.io.buffer.DataBuffer DataBuffer}
* <li>{@link org.springframework.core.io.Resource Resource}
* <li>{@link String}
* <li>{@link org.springframework.util.MultiValueMap
* MultiValueMap&lt;String,String&gt;} for form data
* <li>{@link org.springframework.util.MultiValueMap
* MultiValueMap&lt;String,Object&gt;} for multipart data
* <li>JSON and Smile, if Jackson is present
* <li>XML, if JAXB2 is present
* </ul>
*
* @author Rossen Stoyanchev
* @since 5.0
*/

View File

@@ -22,6 +22,33 @@ import org.springframework.core.codec.Encoder;
* Extension of {@link CodecConfigurer} for HTTP message reader and writer
* options relevant on the server side.
*
* <p>HTTP message readers for the following are registered by default:
* <ul>{@code byte[]}
* <li>{@link java.nio.ByteBuffer}
* <li>{@link org.springframework.core.io.buffer.DataBuffer DataBuffer}
* <li>{@link org.springframework.core.io.Resource Resource}
* <li>{@link String}
* <li>{@link org.springframework.util.MultiValueMap
* MultiValueMap&lt;String,String&gt;} for form data
* <li>{@link org.springframework.util.MultiValueMap
* MultiValueMap&lt;String,Object&gt;} for multipart data
* <li>JSON and Smile, if Jackson is present
* <li>XML, if JAXB2 is present
* </ul>
*
* <p>HTTP message writers registered by default:
* <ul>{@code byte[]}
* <li>{@link java.nio.ByteBuffer}
* <li>{@link org.springframework.core.io.buffer.DataBuffer DataBuffer}
* <li>{@link org.springframework.core.io.Resource Resource}
* <li>{@link String}
* <li>{@link org.springframework.util.MultiValueMap
* MultiValueMap&lt;String,String&gt;} for form data
* <li>JSON and Smile, if Jackson is present
* <li>XML, if JAXB2 is present
* <li>Server-Sent Events
* </ul>
*
* @author Rossen Stoyanchev
* @since 5.0
*/