Class ResourceService


  • @Deprecated(since="2021-05-27")
    public class ResourceService
    extends Object
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Abstract resource service, used by DefaultServlet and ResourceHandler
    • Constructor Detail

      • ResourceService

        public ResourceService()
        Deprecated.
    • Method Detail

      • isAcceptRanges

        public boolean isAcceptRanges()
        Deprecated.
      • setAcceptRanges

        public void setAcceptRanges​(boolean acceptRanges)
        Deprecated.
      • isDirAllowed

        public boolean isDirAllowed()
        Deprecated.
      • setDirAllowed

        public void setDirAllowed​(boolean dirAllowed)
        Deprecated.
      • isRedirectWelcome

        public boolean isRedirectWelcome()
        Deprecated.
      • setRedirectWelcome

        public void setRedirectWelcome​(boolean redirectWelcome)
        Deprecated.
      • setPrecompressedFormats

        public void setPrecompressedFormats​(CompressedContentFormat[] precompressedFormats)
        Deprecated.
      • setEncodingCacheSize

        public void setEncodingCacheSize​(int encodingCacheSize)
        Deprecated.
      • getEncodingCacheSize

        public int getEncodingCacheSize()
        Deprecated.
      • isPathInfoOnly

        public boolean isPathInfoOnly()
        Deprecated.
      • setPathInfoOnly

        public void setPathInfoOnly​(boolean pathInfoOnly)
        Deprecated.
      • isEtags

        public boolean isEtags()
        Deprecated.
      • setEtags

        public void setEtags​(boolean etags)
        Deprecated.
      • getCacheControl

        public HttpField getCacheControl()
        Deprecated.
      • setCacheControl

        public void setCacheControl​(HttpField cacheControl)
        Deprecated.
      • getGzipEquivalentFileExtensions

        public List<String> getGzipEquivalentFileExtensions()
        Deprecated.
      • setGzipEquivalentFileExtensions

        public void setGzipEquivalentFileExtensions​(List<String> gzipEquivalentFileExtensions)
        Deprecated.