- backedRegistry(RegistryBacking) - Static method in class ratpack.registry.Registries
-
Creates a new registry instance that is backed by a RegistryBacking implementation.
- baseDir(Supplier<? extends Path>) - Method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp.Spec
-
- baseDir(BaseDirBuilder) - Method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp.Spec
-
- baseDir(Path) - Method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp.Spec
-
- baseDir(File) - Static method in class ratpack.launch.LaunchConfigBuilder
-
Create a new builder, using the given file as the base dir.
- baseDir(Path) - Static method in class ratpack.launch.LaunchConfigBuilder
-
Create a new builder, using the given file as the base dir.
- BaseDirBuilder - Interface in ratpack.test.embed
-
- BaseDirRequiredException - Exception in ratpack.file
-
Thrown when the base directory of the application has not been set but is required.
- BaseDirRequiredException(String) - Constructor for exception ratpack.file.BaseDirRequiredException
-
Constructor.
- bind(Class<?>) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
Add a binding for the given type.
- bind(Class<T>, Class<? extends T>) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
Add a binding for the given public type, to the given implementation type.
- bind(Class<?>) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given type.
- bind(Class<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given public type, to the given implementation type.
- bind(String, PathBinding) - Method in interface ratpack.path.PathBinder
-
Creates a binding for the given path, if this binder can bind to this path.
- BindAddress - Interface in ratpack.server
-
Represents the address that the server is listening on for requests.
- binder(Action<? super Binder>) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
Adds bindings by directly configuring a
Binder
.
- binder(Action<? super Binder>) - Method in interface ratpack.guice.BindingsSpec
-
Adds bindings by directly configuring a
Binder
.
- binding(String) - Method in interface ratpack.file.FileSystemBinding
-
Construct a new binding by using the given path as a relative path from this bind point.
- bindings(Closure<?>) - Method in interface ratpack.groovy.Groovy.Ratpack
-
Registers the closure used to configure the
GroovyBindingsSpec
that will back the application.
- bindings(Closure<?>) - Method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp.Spec
-
Specifies the bindings of the application.
- bindings(Action<? super BindingsSpec>) - Method in interface ratpack.guice.Guice.Builder
-
- BindingsSpec - Interface in ratpack.guice
-
A buildable specification of Guice bindings.
- bindInstance(Class<? super T>, T) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
Add a binding for the given public type, to the given implementing instance.
- bindInstance(T) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
Add a binding for the given object to its concrete type.
- bindInstance(Class<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given public type, to the given implementing instance.
- bindInstance(T) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given object to its concrete type.
- blocking(Callable<T>) - Method in interface ratpack.exec.ExecControl
-
Performs a blocking operation on a separate thread, returning a promise for its value.
- blocking(Callable<T>) - Method in interface ratpack.handling.Context
-
Executes a blocking operation, returning a promise for its result.
- blockingMap(Function<? super T, ? extends O>) - Method in interface ratpack.exec.PromiseOperations
-
- body(byte[], String) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
- body(String, String) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
- body(Action<? super RequestSpec.Body>) - Method in interface ratpack.http.client.RequestSpec
-
- body(byte[], String) - Method in interface ratpack.test.handling.RequestFixture
-
Sets the request body to be the given bytes, and adds a Content-Type
request header of the given value.
- body(String, String) - Method in interface ratpack.test.handling.RequestFixture
-
Sets the request body to be the given string in utf8 bytes, and adds a Content-Type
request header of the given value.
- buffer(ByteBuf) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the request body as a byte buffer.
- buffer(Publisher<T>) - Static method in class ratpack.stream.Streams
-
Returns a publisher that allows the given publisher to emit as fast as it can, while applying flow control downstream.
- bufferAllocator(ByteBufAllocator) - Method in class ratpack.launch.LaunchConfigBuilder
-
The allocator to use when creating buffers in the application.
- bufferChunks(CharSequence, Publisher<? extends ByteBuf>) - Static method in class ratpack.http.ResponseChunks
-
Transmit each set of bytes emitted by the publisher as a chunk.
- build(Closure<?>) - Static method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
-
- build(Action<? super Chain>) - Method in interface ratpack.guice.Guice.Builder
-
- build(HandlerFactory) - Method in class ratpack.launch.LaunchConfigBuilder
-
Builds the launch config, based on the current state and the handler factory.
- build() - Method in class ratpack.launch.LaunchConfigBuilder
-
Builds the launch config, based on the current state and WITHOUT handler factory.
- build(boolean) - Method in interface ratpack.path.PathBinderBuilder
-
Generate a
PathBinder
from the contents of the builder.
- build() - Method in interface ratpack.registry.RegistryBuilder
-
Builds the registry.
- build(Registry) - Method in interface ratpack.registry.RegistryBuilder
-
Builds a registry containing the entries specified by this builder and the given “parent” registry.
- build(LaunchConfig) - Static method in class ratpack.server.RatpackServerBuilder
-
Constructs a new server based on the builder's state.
- build(Consumer<? super BaseDirBuilder>) - Method in interface ratpack.test.embed.BaseDirBuilder
-
- build() - Method in interface ratpack.test.embed.BaseDirBuilder
-
Build the baseDir.
- builder(LaunchConfig) - Static method in class ratpack.guice.Guice
-
- builder() - Static method in class ratpack.path.PathBinders
-
- byContent(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyContext
-
- byContent(Action<? super ByContentSpec>) - Method in interface ratpack.handling.Context
-
Respond to the request based on the requested content type (i.e.
- ByContentSpec - Interface in ratpack.handling
-
A specification of how to respond to a request, based on the requested content type (i.e.
- byMethod(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyContext
-
- byMethod(Action<? super ByMethodSpec>) - Method in interface ratpack.handling.Context
-
Respond to the request based on the request method.
- ByMethodSpec - Interface in ratpack.handling
-
A specification of how to respond to a request, based on the requeste method.
- bytes(byte[]) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the request body as a byte array.