public class ContextTransformService extends Object
| Constructor and Description |
|---|
ContextTransformService(Collection<ContextTransformer> contextTransforms,
Collection<ContextTransformInterceptor> contextTransformInterceptors) |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
getMediaType(String contextName,
Object obj) |
ResolvedItem |
transform(String contextName,
Object obj) |
public ContextTransformService(Collection<ContextTransformer> contextTransforms, Collection<ContextTransformInterceptor> contextTransformInterceptors)
public ResolvedItem transform(String contextName, Object obj) throws ContextTransformException
ContextTransformExceptionpublic MediaType getMediaType(String contextName, Object obj) throws ContextTransformException
ContextTransformExceptionCopyright © 2014 Calrissian. All rights reserved.