Package org.apache.solr.jersey
Class SolrJacksonMapper.NamedListSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.solr.common.util.NamedList>
-
- org.apache.solr.jersey.SolrJacksonMapper.NamedListSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
- Enclosing class:
- SolrJacksonMapper
public static class SolrJacksonMapper.NamedListSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.solr.common.util.NamedList>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedListSerializer()
NamedListSerializer(Class<org.apache.solr.common.util.NamedList> nlClazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(org.apache.solr.common.util.NamedList value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
-
-
-
-
Constructor Detail
-
NamedListSerializer
public NamedListSerializer()
-
NamedListSerializer
public NamedListSerializer(Class<org.apache.solr.common.util.NamedList> nlClazz)
-
-
Method Detail
-
serialize
public void serialize(org.apache.solr.common.util.NamedList value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.solr.common.util.NamedList>
- Throws:
IOException
-
-