Uses of Class
org.apache.juneau.rest.staticfile.StaticFiles.Builder
Packages that use StaticFiles.Builder
-
Uses of StaticFiles.Builder in org.apache.juneau.rest.staticfile
Methods in org.apache.juneau.rest.staticfile that return StaticFiles.BuilderModifier and TypeMethodDescriptionStaticFiles.Builder.addMimeTypes
(String mimeTypes) Prepend the MIME type values to the MIME types registry.StaticFiles.Builder.caching
(long cachingLimit) Enables in-memory caching of files for quicker retrieval.Adds a class subpackage to the lookup paths.static StaticFiles.Builder
Creates a new builder for this object.static StaticFiles.Builder
Static creator.Adds a file system directory to the lookup paths.Specifies the regular expression file name pattern to use to exclude files from being retrieved from the file source.Appends headers to add to HTTP responses.Specifies the regular expression file name patterns to use to include files being retrieved from the file source.StaticFiles.Builder.mimeTypes
(jakarta.activation.MimetypesFileTypeMap mimeTypes) Replaces the MIME types registry used for determining content types.Adds a file system directory to the lookup paths.Constructors in org.apache.juneau.rest.staticfile with parameters of type StaticFiles.Builder