Uses of Interface
ratpack.exec.registry.RegistrySpec
-
Packages that use RegistrySpec Package Description ratpack.core.handling The handling of application requests.ratpack.core.http The HTTP protocol.ratpack.core.render The renderer framework provides a pluggable mechanism for serializing objects to the response.ratpack.core.server Objects used to start a ratpack application.ratpack.exec The execution management.ratpack.exec.registry Registries hold objects that can be retrieved via type, and are a key aspect of Ratpack applications.ratpack.groovy.handling Groovy specific extensions to classes in theratpack.core.handlingpackage.ratpack.groovy.test.handling ratpack.guice Integration with Google Guice.ratpack.reactor Provides integration with the Project Reactor library.ratpack.rx2 Provides integration with the RxJava library.ratpack.test.exec ratpack.test.handling Test fixtures for exercisingHandlerimplementations without start a fullEmbeddedApp. -
-
Uses of RegistrySpec in ratpack.core.handling
Method parameters in ratpack.core.handling with type arguments of type RegistrySpec Modifier and Type Method Description default ChainChain. register(Action<? super RegistrySpec> action)Builds a new registry via the given action, then registers it viaChain.register(Registry).default ChainChain. register(Action<? super RegistrySpec> registryAction, Class<? extends Action<? super Chain>> action)default ChainChain. register(Action<? super RegistrySpec> registryAction, Action<? super Chain> action)Adds a handler that inserts the given handler chain with a registry built by the given action viaContext.insert(Registry, Handler...). -
Uses of RegistrySpec in ratpack.core.http
Subinterfaces of RegistrySpec in ratpack.core.http Modifier and Type Interface Description interfaceRequestA request to be handled. -
Uses of RegistrySpec in ratpack.core.render
Methods in ratpack.core.render that return types with arguments of type RegistrySpec Modifier and Type Method Description default Action<RegistrySpec>RenderableDecorator. register()A registration action, typically used withwith(Action). -
Uses of RegistrySpec in ratpack.core.server
Method parameters in ratpack.core.server with type arguments of type RegistrySpec Modifier and Type Method Description default RatpackServerSpecRatpackServerSpec. registryOf(Action<? super RegistrySpec> action)Builds the user registry via the given spec action. -
Uses of RegistrySpec in ratpack.exec
Subinterfaces of RegistrySpec in ratpack.exec Modifier and Type Interface Description interfaceExecutionA logical operation, such as servicing a request, that may be comprised of non contiguous units of work.Method parameters in ratpack.exec with type arguments of type RegistrySpec Modifier and Type Method Description ExecSpecExecSpec. register(Action<? super RegistrySpec> action)Populates the execution's registry.ExecStarterExecStarter. register(Action<? super RegistrySpec> action)Populates the execution's registry. -
Uses of RegistrySpec in ratpack.exec.registry
Subinterfaces of RegistrySpec in ratpack.exec.registry Modifier and Type Interface Description interfaceMutableRegistryARegistrythat is also mutable.interfaceRegistryBuilderA builder ofregistries.Methods in ratpack.exec.registry that return RegistrySpec Modifier and Type Method Description default <O> RegistrySpecRegistrySpec. add(com.google.common.reflect.TypeToken<O> type, O object)Adds a registry entry that is available by the given type.default <O> RegistrySpecRegistrySpec. add(Class<O> type, O object)Adds a registry entry that is available by the given type.default RegistrySpecRegistrySpec. add(Object object)Adds a registry entry.<O> RegistrySpecRegistrySpec. addLazy(com.google.common.reflect.TypeToken<O> type, Supplier<? extends O> supplier)Adds a lazily created entry to the registry.default <O> RegistrySpecRegistrySpec. addLazy(Class<O> type, Supplier<? extends O> supplier)Adds a lazily created entry to the registry.default RegistrySpecRegistrySpec. with(Action<? super RegistrySpec> action)Executes the given action withthis.Method parameters in ratpack.exec.registry with type arguments of type RegistrySpec Modifier and Type Method Description static RegistryRegistry. of(Action<? super RegistrySpec> action)Builds a registry from the given action.default RegistryBuilderRegistryBuilder. with(Action<? super RegistrySpec> action)default RegistrySpecRegistrySpec. with(Action<? super RegistrySpec> action)Executes the given action withthis. -
Uses of RegistrySpec in ratpack.groovy.handling
Method parameters in ratpack.groovy.handling with type arguments of type RegistrySpec Modifier and Type Method Description default GroovyChainGroovyChain. register(Action<? super RegistrySpec> action)Builds a new registry via the given action, then registers it viaChain.register(Registry).default GroovyChainGroovyChain. register(Action<? super RegistrySpec> registryAction, Closure<?> handler)default GroovyChainGroovyChain. register(Action<? super RegistrySpec> registryAction, Class<? extends Action<? super Chain>> action)default GroovyChainGroovyChain. register(Action<? super RegistrySpec> registryAction, Action<? super Chain> chainAction)Adds a handler that inserts the given handler chain with a registry built by the given action viaContext.insert(Registry, Handler...). -
Uses of RegistrySpec in ratpack.groovy.test.handling
Method parameters in ratpack.groovy.test.handling with type arguments of type RegistrySpec Modifier and Type Method Description GroovyRequestFixtureGroovyRequestFixture. registry(Action<? super RegistrySpec> action)Configures the context registry. -
Uses of RegistrySpec in ratpack.guice
Subinterfaces of RegistrySpec in ratpack.guice Modifier and Type Interface Description interfaceBindingsSpecA buildable specification of Guice bindings.Methods in ratpack.guice that return RegistrySpec Modifier and Type Method Description default <O> RegistrySpecBindingsSpec. add(com.google.common.reflect.TypeToken<O> type, O object)default <O> RegistrySpecBindingsSpec. addLazy(com.google.common.reflect.TypeToken<O> type, Supplier<? extends O> supplier) -
Uses of RegistrySpec in ratpack.reactor
Method parameters in ratpack.reactor with type arguments of type RegistrySpec Modifier and Type Method Description static <T> Flux<T>ReactorRatpack. fork(Flux<T> flux, Action<? super RegistrySpec> doWithRegistrySpec)A variant ofReactorRatpack.fork(reactor.core.publisher.Flux<T>)that allows access to the registry of the forked execution inside anAction.static <T> Flux<T>ReactorRatpack. forkEach(Flux<T> flux, Action<? super RegistrySpec> doWithRegistrySpec)A variant ofReactorRatpack.forkEach(reactor.core.publisher.Flux<T>)that allows access to the registry of each forked execution inside anAction. -
Uses of RegistrySpec in ratpack.rx2
Method parameters in ratpack.rx2 with type arguments of type RegistrySpec Modifier and Type Method Description static <T> Observable<T>RxRatpack. fork(Observable<T> observable, Action<? super RegistrySpec> registrySpec)A variant ofRxRatpack.fork(io.reactivex.Observable<T>)that allows access to the registry of the forked execution inside anAction.static <T> Observable<T>RxRatpack. forkEach(Observable<T> observable, Action<? super RegistrySpec> registrySpec)A variant ofRxRatpack.forkEach(io.reactivex.Observable<T>)that allows access to the registry of each forked execution inside anAction. -
Uses of RegistrySpec in ratpack.test.exec
Method parameters in ratpack.test.exec with type arguments of type RegistrySpec Modifier and Type Method Description default voidExecHarness. execute(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Operation> function)static voidExecHarness. executeSingle(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Operation> function)voidExecHarness. run(Action<? super RegistrySpec> registry, Action<? super Execution> action)Initiates an execution and blocks until it completes.static voidExecHarness. runSingle(Action<? super RegistrySpec> registry, Action<? super Execution> action)Convenient form ofExecHarness.run(Action, Action)that creates and closes a harness for the run.<T> ExecResult<T>ExecHarness. yield(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Promise<T>> func)Synchronously returns a promised value.static <T> ExecResult<T>ExecHarness. yieldSingle(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Promise<T>> func)Creates an exec harness,executesthe given function with it before closing it, then returning execution result. -
Uses of RegistrySpec in ratpack.test.handling
Methods in ratpack.test.handling that return RegistrySpec Modifier and Type Method Description RegistrySpecRequestFixture. getRegistry()A specification of the context registry.Method parameters in ratpack.test.handling with type arguments of type RegistrySpec Modifier and Type Method Description RequestFixtureRequestFixture. registry(Action<? super RegistrySpec> action)Configures the context registry.
-