Package | Description |
---|---|
ratpack.handling |
The handling of application requests.
|
ratpack.http |
The HTTP protocol.
|
ratpack.test.handling |
Test fixtures for exercising
Handler implementations without
start a full EmbeddedApp . |
Modifier and Type | Method and Description |
---|---|
Request |
Context.getRequest()
The HTTP request.
|
Request |
RequestOutcome.getRequest()
The request.
|
Modifier and Type | Method and Description |
---|---|
RequestId |
RequestId.Generator.generate(Request request)
Generate the ID for the request.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.reflect.TypeToken<Request> |
Request.TYPE
A type token for this type.
|
Modifier and Type | Method and Description |
---|---|
<O> Request |
Request.add(java.lang.Class<O> type,
O object)
Adds a registry entry that is available by the given type.
|
Request |
Request.add(java.lang.Object object)
Adds a registry entry.
|
<O> Request |
Request.add(com.google.common.reflect.TypeToken<O> type,
O object)
Adds a registry entry that is available by the given type.
|
<O> Request |
Request.addLazy(java.lang.Class<O> type,
java.util.function.Supplier<? extends O> supplier)
Adds a lazily created entry to the registry.
|
<O> Request |
Request.addLazy(com.google.common.reflect.TypeToken<O> type,
java.util.function.Supplier<? extends O> supplier)
Adds a lazily created entry to the registry.
|
Modifier and Type | Method and Description |
---|---|
Handler |
HandlerFactory.receive(Request request) |