Package | Description |
---|---|
ratpack.guice |
Integration with Google Guice.
|
ratpack.impose |
Modifier and Type | Class and Description |
---|---|
class |
BindingsImposition
An
imposition of additional and overridden Guice bindings, used by Guice.registry(Action) and similar methods. |
Modifier and Type | Class and Description |
---|---|
class |
ForceDevelopmentImposition
Forces whether to start the application in
ServerConfig.isDevelopment() mode or not. |
class |
ForceServerListenPortImposition
Forces the port that the server should use to listen for requests.
|
class |
ServerConfigImposition
An override object for imposing server configuration.
|
class |
UserRegistryImposition
Imposes an extra registry to be joined with the user registry when starting an application.
|
Modifier and Type | Method and Description |
---|---|
<T extends Imposition> |
Impositions.get(java.lang.Class<T> type)
Return an imposition of the given type, if one is currently imposed.
|
Modifier and Type | Method and Description |
---|---|
ImpositionsSpec |
ImpositionsSpec.add(Imposition imposition)
Adds the imposition, replacing any previous imposition of the exact same type.
|