Class BundledRead

  • All Implemented Interfaces:
    Function<String,​Response>, AssetsRead

    public class BundledRead
    extends Object
    Author:
    Denis Danilin | me@loslobos.ru 25.04.2023 11:44 fair-http-server ☭ sweat and blood
    • Field Detail

      • autoDirList

        protected final boolean autoDirList
      • gotIndex

        protected final boolean gotIndex
      • indexFile

        protected final Set<String> indexFile
      • cache

        protected final boolean cache
      • maxCacheSize

        protected final long maxCacheSize
      • maxCacheLife

        protected final long maxCacheLife
      • namedRef

        protected final String namedRef
    • Constructor Detail

      • BundledRead

        public BundledRead​(com.typesafe.config.Config staticsCfg,
                           String prefix)
    • Method Detail

      • canProcess

        public boolean canProcess​(String path)
      • dirList

        protected byte[] dirList​(String dirName,
                                 Collection<org.logdoc.fairhttp.service.http.statics.StaticRead.FRes> content)
      • rememberMime

        protected void rememberMime​(String id,
                                    String mime)