| Package | Description |
|---|---|
| ratpack.groovy.test.embed |
Support for creating Groovy based embedded applications.
|
| ratpack.handling |
The handling of application requests.
|
| ratpack.registry |
Handlers communicate with each other by binding a "service" on to each
Context. |
| ratpack.test |
| Constructor and Description |
|---|
ClosureBackedEmbeddedApplication(Factory<Path> baseDirFactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
Context.insert(Class<T> publicType,
Factory<? extends T> factory,
Handler... handlers)
Inserts some handlers into the pipeline to execute with the given object created by the factory made available, then delegates to the first.
|
<T> void |
Context.next(Class<T> publicType,
Factory<? extends T> factory) |
| Modifier and Type | Method and Description |
|---|---|
<O> RegistryBuilder |
RegistryBuilder.add(Class<O> type,
Factory<? extends O> object) |
| Modifier and Type | Class and Description |
|---|---|
class |
RatpackMainServerFactory |
| Constructor and Description |
|---|
ServerBackedApplicationUnderTest(Factory<RatpackServer> serverFactory) |