ProtobufHttpMessageConverter which enforces the use of Protobuf 3 and
its official library "com.google.protobuf:protobuf-java-util" for JSON processing.
Most importantly, this class allows for custom JSON parser and printer configurations
through the JsonFormat utility. If no special parser or printer configuration is
given, default variants will be used instead.
Requires Protobuf 3.x and "com.google.protobuf:protobuf-java-util" 3.x,
with 3.3 or higher recommended.
JsonFormat#parser(), JsonFormat#printer(), ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser, com.google.protobuf.util.JsonFormat.Printer)
| Access | Constructor and Description |
|---|---|
| public | ProtobufJsonFormatHttpMessageConverter()
Constructor with default instances of
|
| public | ProtobufJsonFormatHttpMessageConverter(JsonFormat.
Constructor with given instances of
|
| public | ProtobufJsonFormatHttpMessageConverter(JsonFormat.
Constructor with given instances of
|
| ProtobufJsonFormatHttpMessageConverter | back to summary |
|---|---|
| public ProtobufJsonFormatHttpMessageConverter() Constructor with default instances of
| |
| ProtobufJsonFormatHttpMessageConverter | back to summary |
|---|---|
| public ProtobufJsonFormatHttpMessageConverter(JsonFormat. Constructor with given instances of
| |
| ProtobufJsonFormatHttpMessageConverter | back to summary |
|---|---|
| public ProtobufJsonFormatHttpMessageConverter(JsonFormat. Constructor with given instances of
| |