@Provider public class POJOMapperProvider extends Object implements javax.ws.rs.ext.ContextResolver<org.codehaus.jackson.map.ObjectMapper>
| Constructor and Description |
|---|
POJOMapperProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.jackson.map.ObjectMapper |
getContext(Class<?> type)
Get a context of type
T that is applicable to the supplied
type. |
public org.codehaus.jackson.map.ObjectMapper getContext(Class<?> type)
T that is applicable to the supplied
type.getContext in interface javax.ws.rs.ext.ContextResolver<org.codehaus.jackson.map.ObjectMapper>type - the class of object for which a context is desirednull if a
context for the supplied type is not available from this provider.Copyright © 2004-2014. All Rights Reserved.