Package | Description |
---|---|
ratpack.impose | |
ratpack.test |
Modifier and Type | Method and Description |
---|---|
static Impositions |
Impositions.current()
The currently imposed impositions.
|
static Impositions |
Impositions.none()
An empty set of impositions.
|
static Impositions |
Impositions.of(Action<? super ImpositionsSpec> consumer)
Creates an impositions instance of the given imposition objects.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
Impositions.impose(Impositions impositions,
Factory<? extends T> during)
Sets impositions that will be available during execution of the given function, from this thread.
|
Modifier and Type | Method and Description |
---|---|
protected Impositions |
ServerBackedApplicationUnderTest.createImpositions()
Creates the
Impositions to impose on the server. |