Uses of Class
ratpack.core.impose.Impositions
-
Packages that use Impositions Package Description ratpack.core.impose ratpack.test Fixtures used for testing Ratpack applications (seeApplicationUnderTest
). -
-
Uses of Impositions in ratpack.core.impose
Methods in ratpack.core.impose that return Impositions Modifier and Type Method Description static Impositions
Impositions. current()
The cumulative currently imposed impositions, for the current thread.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.Methods in ratpack.core.impose with parameters of type Impositions Modifier and Type Method 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. -
Uses of Impositions in ratpack.test
Methods in ratpack.test that return Impositions Modifier and Type Method Description protected Impositions
ServerBackedApplicationUnderTest. createImpositions()
Creates theImpositions
to impose on the server.
-