public class ByteBufferRequestRecord extends Object implements RequestRecord
Constructor and Description |
---|
ByteBufferRequestRecord(ByteBuffer request) |
Modifier and Type | Method and Description |
---|---|
int |
limit() |
byte[] |
readBytes() |
<T extends Record> |
readRecord(Supplier<T> constructor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromBytes, fromBytes, fromRecord
public ByteBufferRequestRecord(ByteBuffer request)
public <T extends Record> T readRecord(Supplier<T> constructor) throws IOException
readRecord
in interface RequestRecord
IOException
public byte[] readBytes()
readBytes
in interface RequestRecord
public int limit()
limit
in interface RequestRecord
Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.