-
Method Summary
<T> void
default void
Writes the given UTF-8 data and ends the exchange
default void
Writes the given data in the provided charset and ends the exchange
default <T> void
Writes the given data in the provided charset and invokes the provided callback on completion
void
-
Method Details
-
writeAsync
default void writeAsync(String data)
Writes the given UTF-8 data and ends the exchange
- Parameters:
data - The data to write
-
writeAsync
Writes the given data in the provided charset and ends the exchange
- Parameters:
data - The data to write
-
writeAsync
Writes the given data in the provided charset and invokes the provided callback on completion
- Parameters:
data - The data to write
-
writeAsync
<T> void writeAsync(io.netty.buffer.ByteBuf data,
boolean last,
IoCallback<T> callback,
T context)
-
writeBlocking
void writeBlocking(io.netty.buffer.ByteBuf data,
boolean last)
throws IOException
- Parameters:
data -
last -
- Throws:
IOException