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