public class OutputSplitter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OutputSplitter.Line |
static class |
OutputSplitter.SplitException |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_FRAME_SIZE
Netty max frame length on websockets is 10240, so we default to something
smaller
|
Constructor and Description |
---|
OutputSplitter(io.vertx.core.Handler<OutputSplitter.Line> lineHandler) |
OutputSplitter(io.vertx.core.Handler<OutputSplitter.Line> lineHandler,
int maxFrameSize) |
Modifier and Type | Method and Description |
---|---|
void |
end() |
OutputSplitter |
write(io.netty.buffer.ByteBuf outputChunk) |
public static final int DEFAULT_MAX_FRAME_SIZE
public OutputSplitter(io.vertx.core.Handler<OutputSplitter.Line> lineHandler)
public OutputSplitter(io.vertx.core.Handler<OutputSplitter.Line> lineHandler, int maxFrameSize)
public void end()
public OutputSplitter write(io.netty.buffer.ByteBuf outputChunk)
Copyright © 2023. All Rights Reserved.