- 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.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(Class<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given public type, to the given implementing instance.
- bind(T) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given object to its concrete type.
- bind(Class<?>) - Method in class ratpack.guice.BindingsSpecAction
-
Add a binding for the given type.
- bind(Class<T>, Class<? extends T>) - Method in class ratpack.guice.BindingsSpecAction
-
Add a binding for the given public type, to the given implementation type.
- bind(Class<? super T>, T) - Method in class ratpack.guice.BindingsSpecAction
-
Add a binding for the given public type, to the given implementing instance.
- bind(T) - Method in class ratpack.guice.BindingsSpecAction
-
Add a binding for the given object to its concrete 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.
- 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 class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Specifies the bindings of the application.
- BindingsSpec - Interface in ratpack.guice
-
A buildable specification of Guice bindings.
- BindingsSpecAction - Class in ratpack.guice
-
Convenient base for Action<BindingsSpec>
implementations.
- BindingsSpecAction() - Constructor for class ratpack.guice.BindingsSpecAction
-
- 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.
- 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.
- body(byte[], String) - Method in class ratpack.test.handling.RequestFixtureAction
-
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 class ratpack.test.handling.RequestFixtureAction
-
Sets the request body to be the given string in utf8 bytes, and adds a Content-Type
request header of the given value.
- bufferAllocator(ByteBufAllocator) - Method in class ratpack.launch.LaunchConfigBuilder
-
The allocator to use when creating buffers in the application.
- 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() - Method in interface ratpack.test.embed.BaseDirBuilder
-
Build the baseDir.
- build() - Method in class ratpack.test.embed.PathBaseDirBuilder
-
Build the baseDir.
- builder() - Static method in class ratpack.path.PathBinders
-
- byContent(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyContext
-
Responds based on the client's preferred response content type (i.e.
- ByContentHandler - Interface in ratpack.handling
-
A buildable strategy for responding based on the HTTP "Accepts" request header.
- byMethod(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyContext
-
Responds based on HTTP method.
- ByMethodHandler - Interface in ratpack.handling
-
A buildable strategy for processing an exchange based on HTTP method.