@Provider public class JacksonProtobufObjectMapperProvider extends Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Constructor and Description |
---|
JacksonProtobufObjectMapperProvider()
Create
ObjectMapper provider that handles protobuf. |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getContext(Class<?> type) |
public JacksonProtobufObjectMapperProvider()
ObjectMapper
provider that handles protobuf.public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
getContext
in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Copyright © 2023. All Rights Reserved.