Package | Description |
---|---|
ratpack.exec | |
ratpack.groovy |
Support for writing Ratpack applications in the Groovy programming language.
|
ratpack.groovy.handling |
Groovy specific extensions to classes in the
ratpack.handling package. |
ratpack.guice |
Integration with Google Guice.
|
ratpack.handling |
The handling of application requests.
|
ratpack.http |
The HTTP protocol.
|
ratpack.registry |
Registries hold objects that can be retrieved via type, and are a key aspect of Ratpack applications.
|
ratpack.remote |
Integration with Groovy Remote Control.
|
ratpack.test.handling |
Modifier and Type | Interface and Description |
---|---|
interface |
Execution
Represents the logical execution of task, started by
ExecController.start(ratpack.func.Action) . |
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 |
GroovyContext
Subclass of
Context that adds Groovy friendly variants of methods. |
Modifier and Type | Method and Description |
---|---|
Registry |
GroovyChainAction.getRegistry() |
Modifier and Type | Method and Description |
---|---|
GroovyChain |
GroovyChain.register(Registry registry)
Makes the contents of the given registry available for downstream handlers of the same nesting level.
|
GroovyChain |
GroovyChainAction.register(Registry registry) |
GroovyChain |
GroovyChain.register(Registry registry,
Action<? super Chain> action)
Adds a handler that inserts the given handler chain with the given registry via
Context.insert(ratpack.registry.Registry, Handler...) . |
GroovyChain |
GroovyChainAction.register(Registry registry,
Action<? super Chain> action) |
GroovyChain |
GroovyChain.register(Registry registry,
Closure<?> handlers) |
GroovyChain |
GroovyChainAction.register(Registry registry,
Closure<?> handlers) |
GroovyChain |
GroovyChain.register(Registry registry,
Handler handler)
Adds a handler that inserts the given handler with the given registry via
Context.insert(ratpack.registry.Registry, Handler...) . |
GroovyChain |
GroovyChainAction.register(Registry registry,
Handler handler) |
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.
|
Registry |
ChainAction.getRegistry() |
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)
Invokes the next handler, after adding the given registry.
|
Chain |
Chain.register(Registry registry)
Makes the contents of the given registry available for downstream handlers of the same nesting level.
|
Chain |
ChainAction.register(Registry registry) |
static Handler |
Handlers.register(Registry registry)
A handler that simply calls
Context.next(Registry) with the given registry. |
Chain |
Chain.register(Registry registry,
Action<? super Chain> action)
Adds a handler that inserts the given handler chain with the given registry via
Context.insert(ratpack.registry.Registry, Handler...) . |
Chain |
ChainAction.register(Registry registry,
Action<? super Chain> action) |
Chain |
Chain.register(Registry registry,
Handler handler)
Adds a handler that inserts the given handler with the given registry via
Context.insert(ratpack.registry.Registry, Handler...) . |
Chain |
ChainAction.register(Registry registry,
Handler handler) |
static Handler |
Handlers.register(Registry registry,
Handler handler)
A handler that simply calls
Context.insert(Registry, Handler...) with the given registry and handler. |
Modifier and Type | Interface and Description |
---|---|
interface |
Request
A request to be handled.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableRegistry
A
Registry that is also mutable. |
Modifier and Type | Method and Description |
---|---|
Registry |
RegistryBuilder.build()
Builds the registry.
|
Registry |
RegistryBuilder.build(Registry parent)
Builds a registry containing the entries specified by this builder and the given “parent” registry.
|
static Registry |
Registries.join(Registry parent,
Registry child)
Joins the given registries into a new registry.
|
static <T> Registry |
Registries.just(Class<? super T> publicType,
T implementation)
Creates a single entry registry, using
RegistryBuilder.add(Class, Object) . |
static <T> Registry |
Registries.just(Class<T> publicType,
Factory<? extends T> factory)
Creates a single lazily created entry registry, using
RegistryBuilder.add(Class, Factory) . |
static Registry |
Registries.just(Object object)
Creates a single entry registry, using
RegistryBuilder.add(Object) . |
static Registry |
Registries.registry(Action<? super RegistrySpec> action)
Builds a registry from the given action.
|
Modifier and Type | Method and Description |
---|---|
Registry |
RegistryBuilder.build(Registry parent)
Builds a registry containing the entries specified by this builder and the given “parent” registry.
|
static Registry |
Registries.join(Registry parent,
Registry child)
Joins the given registries into a new registry.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CommandDelegate
The delegate object for commands
|
Modifier and Type | Method and Description |
---|---|
Registry |
HandlingResult.getRegistry()
The final state of the context registry.
|
Registry |
HandlingResult.getRequestRegistry()
The final state of the request registry.
|