Example usage for org.springframework.http.codec HttpMessageWriter interface-usage

List of usage examples for org.springframework.http.codec HttpMessageWriter interface-usage

Introduction

In this page you can find the example usage for org.springframework.http.codec HttpMessageWriter interface-usage.

Usage

From source file org.springframework.http.codec.EncoderHttpMessageWriter.java

/**
 * {@code HttpMessageWriter} that wraps and delegates to an {@link Encoder}.
 *
 * <p>Also a {@code HttpMessageWriter} that pre-resolves encoding hints
 * from the extra information available on the server side such as the request
 * or controller method annotations.

From source file org.springframework.http.codec.ResourceHttpMessageWriter.java

/**
 * {@code HttpMessageWriter} that can write a {@link Resource}.
 *
 * <p>Also an implementation of {@code HttpMessageWriter} with support
 * for writing one or more {@link ResourceRegion}'s based on the HTTP ranges
 * specified in the request.