Package | Description |
---|---|
ratpack.config |
Provides the ability to access configuration data from a variety of sources, such as YAML, JSON,
properties files, system properties, and environment variables.
|
ratpack.file |
Types for dealing with the file system and serving files.
|
ratpack.handling |
The handling of application requests.
|
ratpack.server |
Objects used to start a ratpack application.
|
Modifier and Type | Method and Description |
---|---|
ObjectNode |
ConfigSource.loadConfigData(ObjectMapper objectMapper,
FileSystemBinding fileSystemBinding)
Loads the configuration data from this data source.
|
Modifier and Type | Field and Description |
---|---|
static TypeToken<FileSystemBinding> |
FileSystemBinding.TYPE
A type token for this type.
|
Modifier and Type | Method and Description |
---|---|
FileSystemBinding |
FileSystemBinding.binding(java.lang.String path)
Construct a new binding by using the given path as a relative path from this bind point.
|
static FileSystemBinding |
FileSystemBinding.of(java.nio.file.Path path) |
static FileSystemBinding |
FileSystemBinding.root() |
Modifier and Type | Method and Description |
---|---|
default FileSystemBinding |
Context.getFileSystemBinding()
Returns the current filesystem binding from the context registry.
|
Modifier and Type | Method and Description |
---|---|
FileSystemBinding |
ServerConfig.getBaseDir()
The base dir of the application, which is also the initial
FileSystemBinding . |