@Override public RequestChannelFrame createFragment( ByteBufAllocator byteBufAllocator, @Nullable ByteBuf metadata, @Nullable ByteBuf data) { return createRequestChannelFrame( byteBufAllocator, true, isCompleteFlagSet(), getInitialRequestN(), metadata, data); }
@Override public RequestChannelFrame createNonFragment( ByteBufAllocator byteBufAllocator, @Nullable ByteBuf metadata, @Nullable ByteBuf data) { return createRequestChannelFrame( byteBufAllocator, false, isCompleteFlagSet(), getInitialRequestN(), metadata, data); }
@Override public String toString() { return "RequestChannelFrame{" + "follows=" + isFollowsFlagSet() + ", complete=" + isCompleteFlagSet() + ", initialRequestN=" + getInitialRequestN() + ", metadata=" + mapMetadata(ByteBufUtil::hexDump) + ", data=" + mapData(ByteBufUtil::hexDump) + '}'; } }
@Override public RequestChannelFrame createNonFragment( ByteBufAllocator byteBufAllocator, @Nullable ByteBuf metadata, @Nullable ByteBuf data) { return createRequestChannelFrame( byteBufAllocator, false, isCompleteFlagSet(), getInitialRequestN(), metadata, data); }
@Override public RequestChannelFrame createFragment( ByteBufAllocator byteBufAllocator, @Nullable ByteBuf metadata, @Nullable ByteBuf data) { return createRequestChannelFrame( byteBufAllocator, true, isCompleteFlagSet(), getInitialRequestN(), metadata, data); }
@Override public String toString() { return "RequestChannelFrame{" + "follows=" + isFollowsFlagSet() + ", complete=" + isCompleteFlagSet() + ", initialRequestN=" + getInitialRequestN() + ", metadata=" + mapMetadata(ByteBufUtil::hexDump) + ", data=" + mapData(ByteBufUtil::hexDump) + '}'; } }