Class EncoderHttpMessageWriter<T>

  • Type Parameters:
    T - the type of objects in the input stream
    All Implemented Interfaces:
    HttpMessageWriter<T>
    Direct Known Subclasses:
    ProtobufHttpMessageWriter

    public class EncoderHttpMessageWriter<T>
    extends Object
    implements HttpMessageWriter<T>
    HttpMessageWriter that wraps and delegates to an Encoder.

    Also a HttpMessageWriter that pre-resolves encoding hints from the extra information available on the server side such as the request or controller method annotations.

    Since:
    5.0
    Author:
    Arjen Poutsma, Sebastien Deleuze, Rossen Stoyanchev, Brian Clozel, Sam Brannen