io.netty.handler.codec.compression.ZlibEncoder Java Examples

The following examples show how to use io.netty.handler.codec.compression.ZlibEncoder. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ZLibSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
public static ZlibEncoder newZlibEncoder(int compressionLevel) {
    return new JdkZlibEncoder(compressionLevel);
}
 
Example #2
Source File: ZLibSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper) {
    return new JdkZlibEncoder(wrapper);
}
 
Example #3
Source File: ZLibSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel) {
    return new JdkZlibEncoder(wrapper, compressionLevel);
}
 
Example #4
Source File: ZLibSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel, int windowBits, int memLevel) {
    return new JdkZlibEncoder(wrapper, compressionLevel);
}
 
Example #5
Source File: ZLibSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
public static ZlibEncoder newZlibEncoder(byte[] dictionary) {
    return new JdkZlibEncoder(dictionary);
}
 
Example #6
Source File: ZLibSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
public static ZlibEncoder newZlibEncoder(int compressionLevel, byte[] dictionary) {
    return new JdkZlibEncoder(compressionLevel, dictionary);
}
 
Example #7
Source File: ZLibSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
public static ZlibEncoder newZlibEncoder(int compressionLevel, int windowBits, int memLevel, byte[] dictionary) {
    return new JdkZlibEncoder(compressionLevel, dictionary);
}