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.
BAD_GATEWAY - Static variable in interface ratpack.http.Status
The 502 status code.
BAD_REQUEST - Static variable in interface ratpack.http.Status
The 400 status code.
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.
Batch<T> - Interface in ratpack.exec.util
A batch of promises to be processed.
batch(int, Publisher<T>, Action<? super T>) - Static method in class ratpack.stream.Streams
Batches and serialised demand.
batch(int, Action<? super T>) - Method in interface ratpack.stream.TransformablePublisher
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.
beforeThrow(Action<? super Throwable>) - Static method in interface ratpack.func.Action
Creates an exception-taking action that executes the given action before throwing the exception.
beforeThrow(Block) - Static method in interface ratpack.func.Action
Creates an exception-taking action that executes the given block before throwing the exception.
begin() - Method in interface ratpack.jdbctx.Transaction
Starts a transaction.
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() - Method in interface ratpack.jdbctx.Transaction
Binds this transaction to the current execution.
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(Flux<T>) - Static method in class ratpack.reactor.ReactorRatpack
Binds the given flux to the current execution, allowing integration of third-party asynchronous fluxes with Ratpack's execution model.
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(Observable<T>) - Static method in class ratpack.rx2.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
Binds the given publisher to the current Execution.
bindExec(Publisher<T>, Action<? super T>) - Static method in class ratpack.stream.Streams
Binds the given publisher to the current Execution.
bindExec() - Method in interface ratpack.stream.TransformablePublisher
bindExec(Action<? super T>) - Method in interface ratpack.stream.TransformablePublisher
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.
blockingNext(Block) - Method in interface ratpack.exec.Operation
Executes the given block as an operation, 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.
bound(Factory<? extends Connection>) - Static method in interface ratpack.jdbctx.Transaction
Creates a transaction implementation that delegates to the execution bound transaction.
buffer(ByteBuf) - Method in interface ratpack.http.client.RequestSpec.Body
Specifies the request body as a byte buffer.
buffer(Publisher<? extends ByteBuf>, long, int) - Static method in class ratpack.stream.bytebuf.ByteBufStreams
Buffers and composes byte bufs together into composites before emitting.
buffer(Publisher<? extends ByteBuf>, long, int, ByteBufAllocator) - Static method in class ratpack.stream.bytebuf.ByteBufStreams
Buffers and composes byte bufs together into composites before emitting.
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(Class<T>) - Method in class ratpack.retrofit.RatpackRetrofit.Builder
Uses this builder to create a Retrofit client implementation.
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(Registry, Closure<?>) - Static method in class ratpack.groovy.Groovy
Builds a content negotiating handler.
byContent(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyContext
Groovy friendly overload of Context.byContent(Action).
byContent(Action<? super ByContentSpec>) - Method in interface ratpack.handling.Context
Respond to the request based on the requested content type (i.e.
byContent(Registry, Action<? super ByContentSpec>) - Static method in class ratpack.handling.Handlers
Builds a content negotiating handler.
ByContentSpec - Interface in ratpack.handling
A specification of how to respond to a request, based on the requested content type (i.e.
byMethod(Registry, Closure<?>) - Static method in class ratpack.groovy.Groovy
Builds a multi method handler.
byMethod(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyContext
Groovy friendly overload of Context.byMethod(Action).
byMethod(Action<? super ByMethodSpec>) - Method in interface ratpack.handling.Context
Respond to the request based on the request method.
byMethod(Registry, Action<? super ByMethodSpec>) - Static method in class ratpack.handling.Handlers
Builds a multi method handler.
ByMethodSpec - Interface in ratpack.handling
A specification of how to respond to a request, based on the requested method.
byteBufAllocator() - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
 
byteBufAllocator(Action<? super ByteBufAllocatorConfig>) - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
Configure the byte buf allocator metric set.
byteBufAllocator(ByteBufAllocator) - Method in interface ratpack.http.client.HttpClientSpec
The buffer allocator to use.
ByteBufAllocatorConfig - Class in ratpack.dropwizard.metrics
Configuration for collecting metrics about ByteBufAllocator.
ByteBufAllocatorConfig() - Constructor for class ratpack.dropwizard.metrics.ByteBufAllocatorConfig
 
ByteBufRef - Class in ratpack.bytebuf
A byte buf that is backed by another, but has its own ref count lifecycle.
ByteBufRef(ByteBuf) - Constructor for class ratpack.bytebuf.ByteBufRef
 
ByteBufStreams - Class in ratpack.stream.bytebuf
Utilities for dealing with streams of ByteBuf.
bytes(byte[]) - Method in interface ratpack.http.client.RequestSpec.Body
Specifies the request body as a byte array.
bytesBefore(byte) - Method in class ratpack.bytebuf.ByteBufRef
 
bytesBefore(int, byte) - Method in class ratpack.bytebuf.ByteBufRef
 
bytesBefore(int, int, byte) - Method in class ratpack.bytebuf.ByteBufRef
 
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