Package | Description |
---|---|
ratpack.handling |
The handling of application requests.
|
ratpack.http |
The HTTP protocol.
|
ratpack.session |
Modifier and Type | Method and Description |
---|---|
Request |
Context.getRequest()
The HTTP request.
|
Request |
RequestOutcome.getRequest()
The request.
|
Modifier and Type | Method and Description |
---|---|
default <O> Request |
Request.add(Class<? super O> type,
O object)
Adds a registry entry that is available by the given type.
|
default Request |
Request.add(Object object)
Adds a registry entry.
|
default <O> Request |
Request.add(TypeToken<? super O> type,
O object)
Adds a registry entry that is available by the given type.
|
default <O> Request |
Request.addLazy(Class<O> type,
Supplier<? extends O> supplier)
Adds a lazily created entry to the registry.
|
<O> Request |
Request.addLazy(TypeToken<O> type,
Supplier<? extends O> supplier)
Adds a lazily created entry to the registry.
|
Modifier and Type | Method and Description |
---|---|
String |
SessionIdGenerator.generateSessionId(Request request) |