Package | Description |
---|---|
ratpack.groovy.handling |
Groovy specific extensions to classes in the
ratpack.handling package. |
ratpack.groovy.test.handling | |
ratpack.handling |
The handling of application requests.
|
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 | Method and Description |
---|---|
GroovyChain |
GroovyChain.register(Action<? super RegistrySpec> action)
Builds a new registry via the given action, then registers it via
Chain.register(Registry) . |
GroovyChain |
GroovyChainAction.register(Action<? super RegistrySpec> action) |
GroovyChain |
GroovyChain.register(Action<? super RegistrySpec> registryAction,
Action<? super Chain> chainAction)
Adds a handler that inserts the given handler chain with a registry built by the given action via
Context.insert(ratpack.registry.Registry, Handler...) . |
GroovyChain |
GroovyChainAction.register(Action<? super RegistrySpec> registryAction,
Action<? super Chain> chainAction) |
GroovyChain |
GroovyChain.register(Action<? super RegistrySpec> registryAction,
Closure<?> handler) |
GroovyChain |
GroovyChainAction.register(Action<? super RegistrySpec> registryAction,
Closure<?> handler) |
GroovyChain |
GroovyChain.register(Action<? super RegistrySpec> registryAction,
Handler handler)
Adds a handler that inserts the given handler with the a registry built by the given action via
Context.insert(ratpack.registry.Registry, Handler...) . |
GroovyChain |
GroovyChainAction.register(Action<? super RegistrySpec> registryAction,
Handler handler) |
Modifier and Type | Method and Description |
---|---|
GroovyRequestFixture |
GroovyRequestFixture.registry(Action<? super RegistrySpec> action) |
Modifier and Type | Method and Description |
---|---|
Chain |
Chain.register(Action<? super RegistrySpec> action)
Builds a new registry via the given action, then registers it via
Chain.register(Registry) . |
Chain |
ChainAction.register(Action<? super RegistrySpec> action) |
Chain |
Chain.register(Action<? super RegistrySpec> registryAction,
Action<? super Chain> action)
Adds a handler that inserts the given handler chain with a registry built by the given action via
Context.insert(ratpack.registry.Registry, Handler...) . |
Chain |
ChainAction.register(Action<? super RegistrySpec> registryAction,
Action<? super Chain> action) |
Chain |
Chain.register(Action<? super RegistrySpec> registryAction,
Handler handler)
Adds a handler that inserts the given handler with the a registry built by the given action via
Context.insert(ratpack.registry.Registry, Handler...) . |
Chain |
ChainAction.register(Action<? super RegistrySpec> registryAction,
Handler handler) |
Modifier and Type | Interface and Description |
---|---|
interface |
RegistryBuilder
A builder of
registries . |
Modifier and Type | Class and Description |
---|---|
class |
RegistrySpecAction
A convenient action base class for a registry spec.
|
Modifier and Type | Method and Description |
---|---|
<O> RegistrySpec |
RegistrySpec.add(Class<? super O> type,
O object)
Adds a registry entry that is available by the given type.
|
<O> RegistrySpec |
RegistrySpecAction.add(Class<? super O> type,
O object)
Adds a registry entry that is available by the given type.
|
<O> RegistrySpec |
RegistrySpec.add(Class<O> type,
Factory<? extends O> factory)
Adds a lazily created entry to the registry.
|
<O> RegistrySpec |
RegistrySpecAction.add(Class<O> type,
Factory<? extends O> factory)
Adds a lazily created entry to the registry.
|
RegistrySpec |
RegistrySpec.add(Object object)
Adds a registry entry.
|
RegistrySpec |
RegistrySpecAction.add(Object object)
Adds a registry entry.
|
<O> RegistrySpec |
RegistrySpec.add(TypeToken<? super O> type,
O object)
Adds a registry entry that is available by the given type.
|
<O> RegistrySpec |
RegistrySpecAction.add(TypeToken<? super O> type,
O object)
Adds a registry entry that is available by the given type.
|
<O> RegistrySpec |
RegistrySpec.add(TypeToken<O> type,
Factory<? extends O> factory)
Adds a lazily created entry to the registry.
|
<O> RegistrySpec |
RegistrySpecAction.add(TypeToken<O> type,
Factory<? extends O> factory)
Adds a lazily created entry to the registry.
|
protected RegistrySpec |
RegistrySpecAction.getRegistrySpec()
Returns the registry spec being delegated to.
|
Modifier and Type | Method and Description |
---|---|
void |
RegistrySpecAction.execute(RegistrySpec registrySpec)
Delegates to
RegistrySpecAction.execute() , using the given registrySpec for delegation. |
Modifier and Type | Method and Description |
---|---|
static Registry |
Registries.registry(Action<? super RegistrySpec> action)
Builds a registry from the given action.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CommandDelegate
The delegate object for commands
|
Modifier and Type | Method and Description |
---|---|
RegistrySpec |
RequestFixture.getRegistry()
A specification of the context registry.
|
RegistrySpec |
RequestFixtureAction.getRegistry()
A specification of the context registry.
|
Modifier and Type | Method and Description |
---|---|
RequestFixture |
RequestFixture.registry(Action<? super RegistrySpec> action)
Configures the context registry.
|
RequestFixture |
RequestFixtureAction.registry(Action<? super RegistrySpec> action)
Configures the context registry.
|