Package org.apache.solr.jersey
Class SolrJacksonMapper
- java.lang.Object
-
- org.apache.solr.jersey.SolrJacksonMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Provider public class SolrJacksonMapper extends Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Customizes the ObjectMapper settings used for serialization/deserialization in Jersey
-
-
Constructor Summary
Constructors Constructor Description SolrJacksonMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.ObjectMapper
getContext(Class<?> type)
-
-
-
Method Detail
-
getContext
public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
- Specified by:
getContext
in interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
-