Package io.kroxylicious.proxy.frame
Class OpaqueResponseFrame
java.lang.Object
io.kroxylicious.proxy.frame.OpaqueFrame
io.kroxylicious.proxy.frame.OpaqueResponseFrame
- All Implemented Interfaces:
Frame,ResponseFrame
Used to represent Kafka responses that the proxy does not need to decode.
-
Field Summary
Fields inherited from class io.kroxylicious.proxy.frame.OpaqueFrame
buf, correlationId, lengthFields inherited from interface io.kroxylicious.proxy.frame.Frame
FRAME_SIZE_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionOpaqueResponseFrame(short apiKeyId, short apiVersion, io.netty.buffer.ByteBuf buf, int correlationId, int length) Creates an opaque response. -
Method Summary
Methods inherited from class io.kroxylicious.proxy.frame.OpaqueFrame
apiKeyId, apiVersion, buf, correlationId, encode, estimateEncodedSize, isDecoded, releaseBufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.kroxylicious.proxy.frame.Frame
apiKeyId, apiVersion, correlationId, encode, estimateEncodedSize, isDecoded
-
Constructor Details
-
OpaqueResponseFrame
public OpaqueResponseFrame(short apiKeyId, short apiVersion, io.netty.buffer.ByteBuf buf, int correlationId, int length) Creates an opaque response.- Parameters:
apiKeyId- api key idapiVersion- api key versionbuf- The message buffer (excluding the frame size)correlationId- correlation idlength- length of the response
-
-
Method Details
-
toString
- Overrides:
toStringin classOpaqueFrame
-