public final class ServiceTalkJacksonSerializerFeature
extends java.lang.Object
implements javax.ws.rs.core.Feature
Constructor and Description |
---|
ServiceTalkJacksonSerializerFeature() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(javax.ws.rs.core.FeatureContext context) |
static javax.ws.rs.ext.ContextResolver<JacksonSerializationProvider> |
contextResolverFor(JacksonSerializationProvider serializationProvider)
Create a new
ContextResolver for JacksonSerializationProvider used by this feature. |
static javax.ws.rs.ext.ContextResolver<JacksonSerializationProvider> |
contextResolverFor(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a new
ContextResolver for JacksonSerializationProvider used by this feature. |
public boolean configure(javax.ws.rs.core.FeatureContext context)
configure
in interface javax.ws.rs.core.Feature
public static javax.ws.rs.ext.ContextResolver<JacksonSerializationProvider> contextResolverFor(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
ContextResolver
for JacksonSerializationProvider
used by this feature.objectMapper
- the ObjectMapper
to use for creating a JacksonSerializationProvider
.ContextResolver
.public static javax.ws.rs.ext.ContextResolver<JacksonSerializationProvider> contextResolverFor(JacksonSerializationProvider serializationProvider)
ContextResolver
for JacksonSerializationProvider
used by this feature.serializationProvider
- the JacksonSerializationProvider
to use.ContextResolver
.