Class ProtobufCodecSupport
java.lang.Object
org.springframework.http.codec.protobuf.ProtobufCodecSupport
- Direct Known Subclasses:
ProtobufDecoder, ProtobufEncoder
Base class providing support methods for Protobuf encoding and decoding.
- Since:
- 5.1
- Author:
- Sebastien Deleuze, Rossen Stoyanchev
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.springframework.util.MimeType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.springframework.util.MimeType> protected voidsetMimeTypes(List<org.springframework.util.MimeType> mimeTypes) protected booleansupportsMimeType(@Nullable org.springframework.util.MimeType mimeType)
-
Field Details
-
MIME_TYPES
protected static final org.springframework.util.MimeType[] MIME_TYPES
-
-
Constructor Details
-
ProtobufCodecSupport
public ProtobufCodecSupport()
-
-
Method Details
-
setMimeTypes
-
getMimeTypes
-
supportsMimeType
-