Package org.keycloak.services.util
Class ObjectMapperResolver
- java.lang.Object
-
- org.keycloak.services.util.ObjectMapperResolver
-
- All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
public class ObjectMapperResolver extends Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Any class with package org.jboss.resteasy.skeleton.key will use NON_DEFAULT inclusion- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapper
mapper
-
Constructor Summary
Constructors Constructor Description ObjectMapperResolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectMapper
createStreamSerializer()
com.fasterxml.jackson.databind.ObjectMapper
getContext(Class<?> type)
-
-
-
Method Detail
-
createStreamSerializer
public static com.fasterxml.jackson.databind.ObjectMapper createStreamSerializer()
-
getContext
public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
- Specified by:
getContext
in interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
-