Class BoltProtocolUtil

java.lang.Object
org.neo4j.driver.internal.async.connection.BoltProtocolUtil

public final class BoltProtocolUtil extends Object
  • Field Details

    • BOLT_MAGIC_PREAMBLE

      public static final int BOLT_MAGIC_PREAMBLE
      See Also:
    • NO_PROTOCOL_VERSION

      public static final BoltProtocolVersion NO_PROTOCOL_VERSION
    • CHUNK_HEADER_SIZE_BYTES

      public static final int CHUNK_HEADER_SIZE_BYTES
      See Also:
    • DEFAULT_MAX_OUTBOUND_CHUNK_SIZE_BYTES

      public static final int DEFAULT_MAX_OUTBOUND_CHUNK_SIZE_BYTES
      See Also:
  • Method Details

    • handshakeBuf

      public static io.netty.buffer.ByteBuf handshakeBuf()
    • handshakeString

      public static String handshakeString()
    • writeMessageBoundary

      public static void writeMessageBoundary(io.netty.buffer.ByteBuf buf)
    • writeEmptyChunkHeader

      public static void writeEmptyChunkHeader(io.netty.buffer.ByteBuf buf)
    • writeChunkHeader

      public static void writeChunkHeader(io.netty.buffer.ByteBuf buf, int chunkStartIndex, int headerValue)