Uses of Interface
ratpack.core.file.FileHandlerSpec
-
Packages that use FileHandlerSpec Package Description ratpack.core.file Types for dealing with the file system and serving files.ratpack.core.handling The handling of application requests.ratpack.groovy.handling Groovy specific extensions to classes in theratpack.core.handling
package. -
-
Uses of FileHandlerSpec in ratpack.core.file
Methods in ratpack.core.file that return FileHandlerSpec Modifier and Type Method Description FileHandlerSpec
FileHandlerSpec. dir(String dir)
Specifies the file system path to the files.default FileHandlerSpec
FileHandlerSpec. files(String path)
A convenience method that specifies both request path and file system path bindings for serving files.FileHandlerSpec
FileHandlerSpec. indexFiles(String... indexFiles)
The files that should be used when a request is made for a directory.FileHandlerSpec
FileHandlerSpec. path(String path)
Specifies the request path to bind to for serving files. -
Uses of FileHandlerSpec in ratpack.core.handling
Method parameters in ratpack.core.handling with type arguments of type FileHandlerSpec Modifier and Type Method Description default Chain
Chain. files(Action<? super FileHandlerSpec> config)
Adds a handler that serves files from the file system.static Handler
Handlers. files(ServerConfig serverConfig, Action<? super FileHandlerSpec> config)
Creates a handler that serves files from the file system. -
Uses of FileHandlerSpec in ratpack.groovy.handling
Method parameters in ratpack.groovy.handling with type arguments of type FileHandlerSpec Modifier and Type Method Description default GroovyChain
GroovyChain. files(Action<? super FileHandlerSpec> config)
Adds a handler that serves files from the file system.
-