Package | Description |
---|---|
ratpack.launch |
Classes used to bootstrap a Ratpack application.
|
Modifier and Type | Method and Description |
---|---|
LaunchConfigBuilder |
LaunchConfigBuilder.address(InetAddress address)
Sets the address to bind to.
|
static LaunchConfigBuilder |
LaunchConfigBuilder.baseDir(File baseDir)
Create a new builder, using the given file as the base dir.
|
static LaunchConfigBuilder |
LaunchConfigBuilder.baseDir(Path baseDir)
Create a new builder, using the given file as the base dir.
|
LaunchConfigBuilder |
LaunchConfigBuilder.bufferAllocator(ByteBufAllocator byteBufAllocator)
The allocator to use when creating buffers in the application.
|
LaunchConfigBuilder |
LaunchConfigBuilder.compressResponses(boolean compressResponses)
Whether to compress responses.
|
LaunchConfigBuilder |
LaunchConfigBuilder.indexFiles(List<String> indexFiles)
Adds the given values as potential index file names.
|
LaunchConfigBuilder |
LaunchConfigBuilder.indexFiles(String... indexFiles)
Adds the given values as potential index file names.
|
LaunchConfigBuilder |
LaunchConfigBuilder.maxContentLength(int maxContentLength)
The max content length.
|
LaunchConfigBuilder |
LaunchConfigBuilder.other(Map<String,String> other)
Add some "other" properties.
|
LaunchConfigBuilder |
LaunchConfigBuilder.other(String key,
String value)
Add an "other" property.
|
LaunchConfigBuilder |
LaunchConfigBuilder.port(int port)
Sets the port to bind to.
|
LaunchConfigBuilder |
LaunchConfigBuilder.publicAddress(URI publicAddress)
The public address of the application.
|
LaunchConfigBuilder |
LaunchConfigBuilder.reloadable(boolean reloadable)
Whether or not the application is "reloadable".
|
LaunchConfigBuilder |
LaunchConfigBuilder.ssl(SSLContext sslContext)
The SSL context to use if the application serves content over HTTPS.
|
LaunchConfigBuilder |
LaunchConfigBuilder.threads(int threads)
How many request handling threads to use.
|
LaunchConfigBuilder |
LaunchConfigBuilder.timeResponses(boolean timeResponses)
Whether to time responses.
|