public final class GensonJaxRSFeature extends Object implements javax.ws.rs.ext.ContextResolver<GensonJaxRSFeature>
Constructor and Description |
---|
GensonJaxRSFeature() |
Modifier and Type | Method and Description |
---|---|
GensonJaxRSFeature |
disable() |
GensonJaxRSFeature |
disableDeserializationFor(Class<?> type,
Class<?>... types) |
GensonJaxRSFeature |
disableSerializationFor(Class<?> type,
Class<?>... types) |
GensonJaxRSFeature |
enable() |
Genson |
genson() |
GensonJaxRSFeature |
getContext(Class<?> type) |
boolean |
isDeserializable(Class<?> type) |
boolean |
isEnabled() |
boolean |
isSerializable(Class<?> type) |
GensonJaxRSFeature |
use(Genson genson) |
public GensonJaxRSFeature getContext(Class<?> type)
getContext
in interface javax.ws.rs.ext.ContextResolver<GensonJaxRSFeature>
public GensonJaxRSFeature disable()
public GensonJaxRSFeature enable()
public GensonJaxRSFeature use(Genson genson)
public Genson genson()
public boolean isEnabled()
public GensonJaxRSFeature disableSerializationFor(Class<?> type, Class<?>... types)
public GensonJaxRSFeature disableDeserializationFor(Class<?> type, Class<?>... types)
public boolean isSerializable(Class<?> type)
public boolean isDeserializable(Class<?> type)
Copyright © 2019. All rights reserved.