Interface ProtobufHttpMessageConverter.ProtobufFormatDelegate

Enclosing class:
ProtobufHttpMessageConverter

protected static interface ProtobufHttpMessageConverter.ProtobufFormatDelegate
Contract to enable subclasses to plug in support for additional formats.
Since:
4.1
Author:
Alex Antonov, Brian Clozel, Juergen Hoeller, Sebastien Deleuze, Kamil Doroszkiewicz
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    merge(HttpInputMessage inputMessage, MediaType contentType, Charset charset, com.google.protobuf.Message.Builder builder, com.google.protobuf.ExtensionRegistry extensionRegistry)
    Use merge methods on Message.Builder to read a message from the given HttpInputMessage.
    void
    print(com.google.protobuf.Message message, HttpOutputMessage outputMessage, MediaType contentType, Charset charset)
    Use print methods on Message.Builder to write the message to the given HttpOutputMessage.
    Return the supported media types for the converter.
    boolean
    Whether the media type is supported for writing.