| Package | Description |
|---|---|
| ratpack.exec | |
| ratpack.groovy.handling |
Groovy specific extensions to classes in the
ratpack.handling package. |
| ratpack.handling |
The handling of application requests.
|
| ratpack.http |
The HTTP protocol.
|
| ratpack.rx |
Provides integration with the RxJava library.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Execution
A logical stream of execution, which is potentially serialized over many threads.
|
| Modifier and Type | Method and Description |
|---|---|
ExecControl |
ExecController.getControl()
A singleton that can be used from any managed thread to perform asynchronous or blocking operations.
|
| 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 |
Context
The context of an individual
Handler invocation. |
| Modifier and Type | Method and Description |
|---|---|
void |
Response.sendFile(ExecControl execContext,
BasicFileAttributes attributes,
Path file)
Sends the response, using the given content type and the content of the given type as the response body.
|
void |
Response.sendFile(ExecControl execContext,
Path file)
Sends the response, using the given content type and the content of the given type as the response body.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> rx.Observable<T> |
RxRatpack.forkAndJoin(ExecControl execControl,
rx.Observable<T> source)
Forks the current execution in order to subscribe to the given source, then joining the original execution with the source values.
|
static <T> rx.Observable.Operator<T,T> |
RxRatpack.forkOnNext(ExecControl execControl)
An operator to parallelize an observable stream by forking a new execution for each omitted item.
|