Class SessionStateSerializer

java.lang.Object
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonSerializer<SessionState>
com.couchbase.client.dcp.state.json.SessionStateSerializer
All Implemented Interfaces:
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

public class SessionStateSerializer extends com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonSerializer<SessionState>
Jackson JSON serializer for SessionState and PartitionState.
Since:
1.0.0
Author:
Michael Nitschinger
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonSerializer

    com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonSerializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(SessionState ss, com.couchbase.client.core.deps.com.fasterxml.jackson.core.JsonGenerator gen, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.SerializerProvider serializers)
     

    Methods inherited from class com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonSerializer

    acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

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

    • SessionStateSerializer

      public SessionStateSerializer()
  • Method Details

    • serialize

      public void serialize(SessionState ss, com.couchbase.client.core.deps.com.fasterxml.jackson.core.JsonGenerator gen, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
      Specified by:
      serialize in class com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonSerializer<SessionState>
      Throws:
      IOException