Uses of Enum Class
io.fluxzero.common.serialization.compression.CompressionAlgorithm
Packages that use CompressionAlgorithm
Package
Description
-
Uses of CompressionAlgorithm in io.fluxzero.common.serialization.compression
Subclasses with type arguments of type CompressionAlgorithm in io.fluxzero.common.serialization.compressionModifier and TypeClassDescriptionenumEnumeration of supported compression algorithms used for serializing and deserializing byte data.Methods in io.fluxzero.common.serialization.compression that return CompressionAlgorithmModifier and TypeMethodDescriptionstatic CompressionAlgorithmReturns the enum constant of this class with the specified name.static CompressionAlgorithm[]CompressionAlgorithm.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.fluxzero.common.serialization.compression with parameters of type CompressionAlgorithmModifier and TypeMethodDescriptionstatic byte[]CompressionUtils.compress(byte[] uncompressed, @NonNull CompressionAlgorithm algorithm) Compresses the given byte array using the specified compression algorithm.static byte[]CompressionUtils.decompress(byte[] compressed, @NonNull CompressionAlgorithm algorithm) Decompresses the given byte array using the specified algorithm. -
Uses of CompressionAlgorithm in io.fluxzero.common.websocket
Methods in io.fluxzero.common.websocket that return types with arguments of type CompressionAlgorithmModifier and TypeMethodDescriptionstatic Optional<CompressionAlgorithm> WebSocketCapabilities.getPreferredCompressionAlgorithm(Map<String, List<String>> headers) Returns the most preferred compression algorithm advertised via request headers, if available.static Optional<CompressionAlgorithm> WebSocketCapabilities.getSelectedCompressionAlgorithm(Map<String, List<String>> headers) static List<CompressionAlgorithm> WebSocketCapabilities.getSupportedCompressionAlgorithms(Map<String, List<String>> headers) Extracts the ordered list of compression algorithms from websocket request headers.Method parameters in io.fluxzero.common.websocket with type arguments of type CompressionAlgorithmModifier and TypeMethodDescriptionWebSocketCapabilities.asHeaders(Collection<CompressionAlgorithm> supportedCompressionAlgorithms) Serializes the supplied compression capabilities into websocket request headers. -
Uses of CompressionAlgorithm in io.fluxzero.sdk.common.websocket
Methods in io.fluxzero.sdk.common.websocket that return CompressionAlgorithmModifier and TypeMethodDescriptionprotected CompressionAlgorithmAbstractWebsocketClient.getCompressionAlgorithm(jakarta.websocket.Session session) -
Uses of CompressionAlgorithm in io.fluxzero.sdk.configuration.client
Methods in io.fluxzero.sdk.configuration.client that return CompressionAlgorithmModifier and TypeMethodDescription@NonNull CompressionAlgorithmWebSocketClient.ClientConfig.getPreferredCompressionAlgorithm()Returns the most preferred compression algorithm supported by the client. -
Uses of CompressionAlgorithm in io.fluxzero.testserver.websocket
Methods in io.fluxzero.testserver.websocket that return CompressionAlgorithmModifier and TypeMethodDescriptionprotected CompressionAlgorithmWebsocketEndpoint.getCompressionAlgorithm(jakarta.websocket.Session session)