Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X Y 

B

backedBy(RegistryBacking) - Static method in interface ratpack.registry.Registry
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 - Class in ratpack.server
 
baseDir(Path) - Method in interface ratpack.server.ServerConfigBuilder
Sets the root of the filesystem for the application.
baseDir(File) - Method in interface ratpack.server.ServerConfigBuilder
Calls ServerConfigBuilder.baseDir(Path) after converting the given File to a Path using File.toPath().
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.
basicAuth(String, String) - Method in interface ratpack.http.client.RequestSpec
Adds the appropriate header for HTTP Basic authentication with the given username and password.
beforeSend(Action<? super Response>) - Method in interface ratpack.http.Response
Register a callback to execute with 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.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(TypeToken<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
bind(TypeLiteral<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
bind(PathBinding) - Method in interface ratpack.path.PathBinder
Attempts to bind in the context of the given parent binding.
binder(Action<? super Binder>) - Method in interface ratpack.guice.BindingsSpec
Adds bindings by directly configuring a Binder.
bindExec(Observable<T>) - Static method in class ratpack.rx.RxRatpack
Binds the given observable to the current execution, allowing integration of third-party asynchronous observables with Ratpack's execution model.
bindExec(Publisher<T>) - Static method in class ratpack.stream.Streams
 
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 BindingsSpec that will back the application.
bindings() - Static method in class ratpack.groovy.Groovy.Script
Creates a registry building function from a Groovy script named "bindings.groovy".
bindings(boolean) - Static method in class ratpack.groovy.Groovy.Script
Creates a registry building function from a Groovy script named "bindings.groovy".
bindings(boolean, String) - Static method in class ratpack.groovy.Groovy.Script
Creates a registry building function from a Groovy script.
BindingsImposition - Class in ratpack.guice
An imposition of additional and overridden Guice bindings, used by Guice.registry(Action) and similar methods.
BindingsSpec - Interface in ratpack.guice
A buildable specification of Guice bindings.
bindingsWithArgs(boolean, String, String...) - Static method in class ratpack.groovy.Groovy.Script
Creates a registry building function from a Groovy script.
bindInstance(TypeLiteral<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given public type, to the given implementing instance.
bindInstance(TypeToken<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
 
bindInstance(Class<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
 
bindInstance(T) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given object to its concrete type.
Block - Interface in ratpack.func
A block of code.
Blocking - Class in ratpack.exec
Facilitates working with code that blocks (e.g.
BlockingExecTimingInterceptor - Interface in ratpack.dropwizard.metrics
 
blockingMap(Function<? super T, ? extends O>) - Method in interface ratpack.exec.Promise
Like Promise.map(Function), but performs the transformation on a blocking thread.
blockingOp(Action<? super T>) - Method in interface ratpack.exec.Promise
Executes the given action with the promise value, on a blocking thread.
blockingTimingMetrics(boolean) - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
The state of blocking timing metrics reporting.
Blocks - Annotation Type in ratpack.api
 
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
Executes the given action with the request body.
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 without respecting demand.
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.ConfigDataBuilder
Creates the config data, based on the state of this builder.
build() - Method in interface ratpack.http.HttpUrlBuilder
Builds the URI based on this builder's current state.
build(Registry) - Method in class ratpack.impose.UserRegistryImposition
Returns the registry of additions, taking the original user registry as the argument
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.ServerConfigBuilder
Builds the server config.
builder() - Static method in interface ratpack.config.ConfigData
 
builder(ObjectMapper) - Static method in interface ratpack.config.ConfigData
 
builder() - Static method in interface ratpack.path.PathBinder
Creates a new path binder builder.
builder() - Static method in interface ratpack.registry.Registry
Creates a new registry builder.
builder(Context) - Method in interface ratpack.server.PublicAddress
Deprecated.
builder() - Method in interface ratpack.server.PublicAddress
Creates a URL builder using the public address as the base.
builder() - Static method in interface ratpack.server.ServerConfig
 
byContent(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyContext
Groovy friendly overload of Context.byContent(ratpack.func.Action).
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
Groovy friendly overload of Context.byMethod(ratpack.func.Action).
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 requested method.
bytes(byte[]) - Method in interface ratpack.http.client.RequestSpec.Body
Specifies the request body as a byte array.
A B C D E F G H I J L M N O P R S T U V W X Y 
Skip navigation links