APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.ssl

pack-priv final Enum CompressionAlgorithm

extends Enum<CompressionAlgorithm>
Class Inheritance
Imports
java.io.ByteArrayOutputStream, java.util.AbstractMap, .Map, java.util.function.Function, java.util.zip.Deflater, .Inflater

Enum for TLS certificate compression algorithms. This class also defines internally supported inflate/deflate functions.

Field Summary

Modifier and TypeField and Description
private static final int
private static final Map<Integer, Function<byte[], byte[]>>
pack-priv final int
private static final Map<Integer, Function<byte[], byte[]>>
public static final CompressionAlgorithm

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static Map<Integer, Function<byte[], byte[]>>
pack-priv static CompressionAlgorithm
nameOf(int id)

pack-priv static Map.Entry<Integer, Function<byte[], byte[]>>
selectDeflater(int[] compressionAlgorithmIds)

pack-priv static int
public static CompressionAlgorithm
public static CompressionAlgorithm[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BUF_SIZEback to summary
private static final int BUF_SIZE
DEFLATORSback to summary
private static final Map<Integer, Function<byte[], byte[]>> DEFLATORS
idback to summary
pack-priv final int id
INFLATORSback to summary
private static final Map<Integer, Function<byte[], byte[]>> INFLATORS
ZLIBback to summary
public static final CompressionAlgorithm ZLIB

Constructor Detail

CompressionAlgorithmback to summary
private CompressionAlgorithm(int id)

Method Detail

getInflatersback to summary
pack-priv static Map<Integer, Function<byte[], byte[]>> getInflaters()
nameOfback to summary
pack-priv static CompressionAlgorithm nameOf(int id)
selectDeflaterback to summary
pack-priv static Map.Entry<Integer, Function<byte[], byte[]>> selectDeflater(int[] compressionAlgorithmIds)
sizeInRecordback to summary
pack-priv static int sizeInRecord()
valueOfback to summary
public static CompressionAlgorithm valueOf(String name)
valuesback to summary
public static CompressionAlgorithm[] values()