Class ProtobufMediaTypes
java.lang.Object
io.servicetalk.data.protobuf.jersey.ProtobufMediaTypes
Media type definitions for Protobuf.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
"application/x-protobuf"
.static final javax.ws.rs.core.MediaType
"application/x-protobuf"
.static final String
"application/x-protobuf-var-int"
base 128 VarInt protobuf encoding.static final javax.ws.rs.core.MediaType
"application/x-protobuf-var-int"
base 128 VarInt protobuf encoding. -
Method Summary
-
Field Details
-
APPLICATION_X_PROTOBUF
"application/x-protobuf"
. -
APPLICATION_X_PROTOBUF_VAR_INT
"application/x-protobuf-var-int"
base 128 VarInt protobuf encoding. Should be used withPublisher
to stream data. -
APPLICATION_X_PROTOBUF_TYPE
public static final javax.ws.rs.core.MediaType APPLICATION_X_PROTOBUF_TYPE"application/x-protobuf"
.- See Also:
-
APPLICATION_X_PROTOBUF_VAR_INT_TYPE
public static final javax.ws.rs.core.MediaType APPLICATION_X_PROTOBUF_VAR_INT_TYPE"application/x-protobuf-var-int"
base 128 VarInt protobuf encoding. Should be used withPublisher
to stream data.- See Also:
-