- backedRegistry(RegistryBacking) - Static method in class ratpack.registry.Registries
-
Creates a new registry instance that is backed by a RegistryBacking implementation.
- base(URI) - Static method in interface ratpack.http.HttpUrlBuilder
-
Create a new builder, with the initial state of the given URI.
- 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(Path) - Static method in interface ratpack.server.ServerConfig
-
Create a new builder, using the given file as the base dir.
- baseDir(File) - Static method in interface ratpack.server.ServerConfig
-
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.
- beforeSend(Action<? super ResponseMetaData>) - Method in interface ratpack.http.Response
-
Register an action to execute upon the response immediately before sending it to the client.
- BiAction<T,U> - Interface in ratpack.func
-
A generic type for an object that does some work with 2 input things.
- BiFunction<I1,I2,O> - Interface in ratpack.func
-
- 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() - Static method in interface ratpack.handling.RequestId
-
Creates a new request ID (using the
RequestId.Generator
from the context) and inserts it into the request registry.
- bind(String, Optional<PathBinding>) - Method in interface ratpack.path.PathBinder
-
Creates a binding for the given path, if this binder can bind to this path.
- bindAndLog() - Static method in interface ratpack.handling.RequestId
-
- 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() - Static method in class ratpack.groovy.Groovy.Script
-
- bindings(boolean) - Static method in class ratpack.groovy.Groovy.Script
-
- bindings(boolean, String) - Static method in class ratpack.groovy.Groovy.Script
-
- bindings(Closure<?>) - Method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp.Spec
-
Specifies the bindings of the application.
- 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.
- blackListMimeTypes(String...) - Method in interface ratpack.server.CompressionConfig.Builder
-
Adds the given values as non-compressible mime types.
- blackListMimeTypes(List<String>) - Method in interface ratpack.server.CompressionConfig.Builder
-
Adds the given values as non-compressible mime types.
- 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.
- blocking(Callable<T>) - Method in interface ratpack.test.exec.ExecHarness
-
Performs a blocking operation on a separate thread, returning a promise for its value.
- blockingMap(Function<? super T, ? extends O>) - Method in interface ratpack.exec.PromiseOperations
-
- body(byte[], String) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
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.groovy.test.handling.GroovyRequestFixture
-
Sets the request body to be the given string in utf8 bytes, and adds a Content-Type
request header of the given value.
- 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.
- buffer() - Method in interface ratpack.stream.TransformablePublisher
-
- 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() - Method in interface ratpack.config.ConfigDataSpec
-
Builds the configuration data from this specification.
- build(Closure<?>) - Static method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
-
- build() - Method in interface ratpack.http.HttpUrlBuilder
-
Builds the URI based on this builder's current state.
- build() - Method in class ratpack.pac4j.Pac4jCallbackHandlerBuilder
-
- 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() - Method in interface ratpack.server.CompressionConfig.Builder
-
Builds the compression config.
- build() - Method in interface ratpack.server.ServerConfig.Builder
-
- build(Registry, boolean) - Static method in class ratpack.server.StartEvent
-
Builder for start events.
- build(Registry, boolean) - Static method in class ratpack.server.StopEvent
-
Builder for stop events.
- build(Consumer<? super BaseDirBuilder>) - Method in interface ratpack.test.embed.BaseDirBuilder
-
- build() - Method in interface ratpack.test.embed.BaseDirBuilder
-
Build the baseDir.
- 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.