GeezerVison is showing netty.io — BrotliEncoder (Netty API Reference (4.1.141.Final))
Class BrotliEncoder
-
-
Constructor Summary
Constructors
Constructor
Description
BrotliEncoder(com.aayushatharva.brotli4j.encoder.Encoder.Parameters parameters)
BrotliEncoder(com.aayushatharva.brotli4j.encoder.Encoder.Parameters parameters,
boolean isSharable)
Create a new BrotliEncoder Instance and specify
whether this instance will be shared with multiple pipelines or not.
-
Method Summary
Modifier and Type
Method
Description
void
protected void
void
Finish the encoding, close streams and write final ByteBuf to the channel.
void
Do nothing by default, sub-classes may override this method.
void
Do nothing by default, sub-classes may override this method.
boolean
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
-
-
BrotliEncoder
public BrotliEncoder(com.aayushatharva.brotli4j.encoder.Encoder.Parameters parameters)
- Parameters:
parameters - Encoder.Parameters to use
-
BrotliEncoder
public BrotliEncoder(com.aayushatharva.brotli4j.encoder.Encoder.Parameters parameters,
boolean isSharable)
- Parameters:
parameters - Encoder.Parameters to use
isSharable - Set to true if this instance is shared else set to false
-
Method Details
-
-
-
-
-
-
finish
Finish the encoding, close streams and write final ByteBuf to the channel.
- Parameters:
ctx - ChannelHandlerContext which we want to close
- Throws:
IOException - If an error occurred during closure
-
|