Package | Description |
---|---|
ratpack.groovy |
Support for writing Ratpack applications in the Groovy programming language.
|
ratpack.groovy.guice | |
ratpack.groovy.handling | |
ratpack.guice |
Integration with Google Guice.
|
ratpack.handling |
The handling of application requests.
|
ratpack.registry |
Handlers communicate with each other by binding a "service" on to each
Context . |
Modifier and Type | Method and Description |
---|---|
static Handler |
Groovy.chain(LaunchConfig launchConfig,
Registry registry,
Closure<?> closure)
Builds a chain, backed by the given registry.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GroovyModuleRegistry
Groovy specific extensions to
ModuleRegistry |
Modifier and Type | Interface and Description |
---|---|
interface |
GroovyContext
Subclass of
Context that adds Groovy friendly variants of methods. |
Modifier and Type | Interface and Description |
---|---|
interface |
ModuleRegistry
A container of modules, used for specifying which modules to back an application with.
|
Modifier and Type | Method and Description |
---|---|
static Registry |
Guice.justInTimeRegistry(Injector injector)
|
static Registry |
Guice.registry(Injector injector)
|
Modifier and Type | Interface and Description |
---|---|
interface |
Context
The context of an individual
Handler invocation. |
Modifier and Type | Method and Description |
---|---|
Registry |
Chain.getRegistry()
The registry that backs this
GroovyChain . |
Modifier and Type | Method and Description |
---|---|
static Handler |
Handlers.chain(LaunchConfig launchConfig,
Registry registry,
Action<? super Chain> action)
Builds a chain, backed by the given registry.
|
void |
Context.insert(Registry registry,
Handler... handlers)
Inserts some handlers into the pipeline to execute with the given registry, then delegates to the first.
|
void |
Context.next(Registry registry) |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableRegistry<T>
A
Registry that is also mutable. |
Modifier and Type | Method and Description |
---|---|
Registry |
RegistryBuilder.build() |
Registry |
RegistryBuilder.build(Registry parent) |
static Registry |
RegistryBuilder.join(Registry parent,
Registry child) |
Modifier and Type | Method and Description |
---|---|
Registry |
RegistryBuilder.build(Registry parent) |
static Registry |
RegistryBuilder.join(Registry parent,
Registry child) |