Class JacksonJsonSupport.ByteArraySerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<byte[]>
com.fasterxml.jackson.databind.ser.std.StdSerializer<byte[]>
com.corundumstudio.socketio.protocol.JacksonJsonSupport.ByteArraySerializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, Serializable
Enclosing class:
JacksonJsonSupport

public static class JacksonJsonSupport.ByteArraySerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<byte[]>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, com.fasterxml.jackson.databind.JavaType typeHint)
     
    void
     
    List<byte[]>
     
    com.fasterxml.jackson.databind.JsonNode
    getSchema(com.fasterxml.jackson.databind.SerializerProvider provider, Type typeHint)
     
    boolean
    isEmpty(byte[] value)
     
    void
    serialize(byte[] value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    void
    serializeWithType(byte[] value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
     

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ByteArraySerializer

      public ByteArraySerializer()
  • Method Details

    • isEmpty

      public boolean isEmpty(byte[] value)
      Overrides:
      isEmpty in class com.fasterxml.jackson.databind.JsonSerializer<byte[]>
    • serialize

      public void serialize(byte[] value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
      Specified by:
      serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<byte[]>
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonGenerationException
    • serializeWithType

      public void serializeWithType(byte[] value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
      Overrides:
      serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<byte[]>
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonGenerationException
    • getSchema

      public com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider provider, Type typeHint)
      Specified by:
      getSchema in interface com.fasterxml.jackson.databind.jsonschema.SchemaAware
      Overrides:
      getSchema in class com.fasterxml.jackson.databind.ser.std.StdSerializer<byte[]>
    • acceptJsonFormatVisitor

      public void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, com.fasterxml.jackson.databind.JavaType typeHint) throws com.fasterxml.jackson.databind.JsonMappingException
      Specified by:
      acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
      Overrides:
      acceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdSerializer<byte[]>
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • getArrays

      public List<byte[]> getArrays()
    • clear

      public void clear()