GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.handler.codec.compression
  • ZlibCodecFactory

This view

  • Original page
  • New address

GeezerVison is showing netty.io — ZlibCodecFactory (Netty API Reference (4.1.141.Final))

Class ZlibCodecFactory

java.lang.Object
io.netty.handler.codec.compression.ZlibCodecFactory

public final class ZlibCodecFactory extends Object
Creates a new ZlibEncoder and a new ZlibDecoder.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isSupportingWindowSizeAndMemLevel()
    Returns true if specify a custom window size and mem level is supported.
    static ZlibDecoder
    newZlibDecoder()
    Deprecated.
    Use newZlibDecoder(int).
    static ZlibDecoder
    newZlibDecoder(byte[] dictionary)
    Deprecated.
    Use newZlibDecoder(byte[], int).
    static ZlibDecoder
    newZlibDecoder(byte[] dictionary, int maxAllocation)
    Create a new decoder instance with the specified preset dictionary and maximum buffer allocation.
    static ZlibDecoder
    newZlibDecoder(int maxAllocation)
    Create a new decoder instance with specified maximum buffer allocation.
    static ZlibDecoder
    newZlibDecoder(ZlibWrapper wrapper)
    Deprecated.
    Use newZlibDecoder(ZlibWrapper, int).
    static ZlibDecoder
    newZlibDecoder(ZlibWrapper wrapper, int maxAllocation)
    Create a new decoder instance with the specified wrapper and maximum buffer allocation.
    static ZlibEncoder
    newZlibEncoder(byte[] dictionary)
     
    static ZlibEncoder
    newZlibEncoder(int compressionLevel)
     
    static ZlibEncoder
    newZlibEncoder(int compressionLevel, byte[] dictionary)
     
    static ZlibEncoder
    newZlibEncoder(int compressionLevel, int windowBits, int memLevel, byte[] dictionary)
     
    static ZlibEncoder
    newZlibEncoder(ZlibWrapper wrapper)
     
    static ZlibEncoder
    newZlibEncoder(ZlibWrapper wrapper, int compressionLevel)
     
    static ZlibEncoder
    newZlibEncoder(ZlibWrapper wrapper, int compressionLevel, int windowBits, int memLevel)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isSupportingWindowSizeAndMemLevel

      public static boolean isSupportingWindowSizeAndMemLevel()
      Returns true if specify a custom window size and mem level is supported.
    • newZlibEncoder

      public static ZlibEncoder newZlibEncoder(int compressionLevel)
    • newZlibEncoder

      public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper)
    • newZlibEncoder

      public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel)
    • newZlibEncoder

      public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel, int windowBits, int memLevel)
    • newZlibEncoder

      public static ZlibEncoder newZlibEncoder(byte[] dictionary)
    • newZlibEncoder

      public static ZlibEncoder newZlibEncoder(int compressionLevel, byte[] dictionary)
    • newZlibEncoder

      public static ZlibEncoder newZlibEncoder(int compressionLevel, int windowBits, int memLevel, byte[] dictionary)
    • newZlibDecoder

      @Deprecated public static ZlibDecoder newZlibDecoder()
      Deprecated.
      Use newZlibDecoder(int).
      Create a new decoder instance.
    • newZlibDecoder

      public static ZlibDecoder newZlibDecoder(int maxAllocation)
      Create a new decoder instance with specified maximum buffer allocation.
      Parameters:
      maxAllocation - Maximum size of the decompression buffer. Must be >= 0. If zero, maximum size is not limited by decoder.
    • newZlibDecoder

      @Deprecated public static ZlibDecoder newZlibDecoder(ZlibWrapper wrapper)
      Deprecated.
      Use newZlibDecoder(ZlibWrapper, int).
      Create a new decoder instance with the specified wrapper.
    • newZlibDecoder

      public static ZlibDecoder newZlibDecoder(ZlibWrapper wrapper, int maxAllocation)
      Create a new decoder instance with the specified wrapper and maximum buffer allocation.
      Parameters:
      maxAllocation - Maximum size of the decompression buffer. Must be >= 0. If zero, maximum size is not limited by decoder.
    • newZlibDecoder

      @Deprecated public static ZlibDecoder newZlibDecoder(byte[] dictionary)
      Deprecated.
      Use newZlibDecoder(byte[], int).
      Create a new decoder instance with the specified preset dictionary. The wrapper is always ZlibWrapper.ZLIB because it is the only format that supports the preset dictionary.
    • newZlibDecoder

      public static ZlibDecoder newZlibDecoder(byte[] dictionary, int maxAllocation)
      Create a new decoder instance with the specified preset dictionary and maximum buffer allocation. The wrapper is always ZlibWrapper.ZLIB because it is the only format that supports the preset dictionary.
      Parameters:
      maxAllocation - Maximum size of the decompression buffer. Must be >= 0. If zero, maximum size is not limited by decoder.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.