public class JsonContextTransform extends Object implements ContextTransformer<Object>
| Modifier and Type | Field and Description |
|---|---|
static MediaType |
CONTENT_TYPE |
| Constructor and Description |
|---|
JsonContextTransform(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
public static final MediaType CONTENT_TYPE
public JsonContextTransform(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public ResolvedItem transform(Object obj) throws ContextTransformException
transform in interface Transformable<Object>ContextTransformExceptionpublic MediaType getMediaType(Object obj) throws ContextTransformException
getMediaType in interface Transformable<Object>ContextTransformExceptionpublic String getContextName()
getContextName in interface ContextTransformer<Object>Copyright © 2014 Calrissian. All rights reserved.