public class JWTContextResolver extends Object implements ContextResolver<org.codehaus.jackson.map.ObjectMapper>
Modifier and Type | Field and Description |
---|---|
protected org.codehaus.jackson.map.ObjectMapper |
mapper |
Constructor and Description |
---|
JWTContextResolver() |
JWTContextResolver(boolean indent) |
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 JWTContextResolver()
public JWTContextResolver(boolean indent)
public org.codehaus.jackson.map.ObjectMapper getContext(Class<?> type)
ContextResolver
T
that is applicable to the supplied
type.getContext
in interface 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 © 2015. All Rights Reserved.