Package io.javalin.jetty
Object JettyPrecompressingResourceHandler
-
- All Implemented Interfaces:
public class JettyPrecompressingResourceHandler
-
-
Field Summary
Fields Modifier and Type Field Description private final ConcurrentHashMap<String, ByteArray>
compressedFiles
public static Integer
resourceMaxSize
public final static JettyPrecompressingResourceHandler
INSTANCE
-
Method Summary
Modifier and Type Method Description final static Unit
clearCache()
final Boolean
handle(String target, Resource resource, Context ctx, CompressionStrategy compStrat)
final ConcurrentHashMap<String, ByteArray>
getCompressedFiles()
-
-
Method Detail
-
clearCache
final static Unit clearCache()
-
handle
final Boolean handle(String target, Resource resource, Context ctx, CompressionStrategy compStrat)
-
getCompressedFiles
final ConcurrentHashMap<String, ByteArray> getCompressedFiles()
-
-
-
-