- Factory<T> - Interface in ratpack.func
-
An object that creates another.
- FALSE - Static variable in interface ratpack.func.Predicate
-
A predicate that always returns false
, regardless of the input object.
- fanOut(Publisher<? extends Iterable<? extends T>>) - Static method in class ratpack.stream.Streams
-
Returns a publisher that publishes each element from Collections that are produced from the given input publisher.
- file(String) - Method in interface ratpack.file.FileSystemBinding
-
Creates a file reference relative to the bind point denoted by the given relative path.
- file(String) - Method in interface ratpack.form.Form
-
Return the first uploaded file with the given name.
- file(String) - Method in interface ratpack.handling.Context
-
- FileHandlerSpec - Interface in ratpack.file
-
A specification for a handler that serves files from the file system.
- files(String) - Method in interface ratpack.file.FileHandlerSpec
-
A convenience method that specifies both request path and file system path bindings for serving files.
- files(String) - Method in interface ratpack.form.Form
-
Return all of the uploaded files with the given name.
- files() - Method in interface ratpack.form.Form
-
Returns all of the uploaded files.
- files(Action<? super FileHandlerSpec>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that serves files from the file system.
- files() - Method in interface ratpack.groovy.handling.GroovyChain
-
- files(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
- files(Action<? super FileHandlerSpec>) - Method in interface ratpack.handling.Chain
-
Adds a handler that serves files from the file system.
- files() - Method in interface ratpack.handling.Chain
-
- files(ServerConfig, Action<? super FileHandlerSpec>) - Static method in class ratpack.handling.Handlers
-
Creates a handler that serves files from the file system.
- fileSystem(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Creates a
List
of
Handler
from the given
Closure
and adds a
Handler
to this
GroovyChain
that
changes the
FileSystemBinding
for the
Handler
list.
- fileSystem(String, Action<? super Chain>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler to this chain that changes the
FileSystemBinding
for the given handler chain.
- fileSystem(String, Class<? extends Action<? super Chain>>) - Method in interface ratpack.groovy.handling.GroovyChain
- fileSystem(String, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
Adds a handler to this chain that changes the
FileSystemBinding
for the given handler chain.
- fileSystem(String, Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- fileSystem(ServerConfig, String, Handler) - Static method in class ratpack.handling.Handlers
-
- FileSystemBinding - Interface in ratpack.file
-
A file system binding represents a file system location that is used to resolve relative paths.
- filter(Pair<String, String>) - Method in interface ratpack.config.EnvironmentParser
-
Provides an opportunity to remove environment variables from parsing by the remainder of the pipeline.
- filter(Publisher<T>, Predicate<? super T>) - Static method in class ratpack.stream.Streams
-
Returns a publisher that filters items from the given input stream by applying the given filter predicate.
- filter(Predicate<? super T>) - Method in interface ratpack.stream.TransformablePublisher
-
- find() - Static method in class ratpack.server.BaseDir
-
Finds the “directory” on the classpath that contains a file called .ratpack
.
- find(String) - Static method in class ratpack.server.BaseDir
-
Finds the “directory” on the classpath that contains the marker file at the given path.
- first(TypeToken<T>, Function<? super T, ? extends O>) - Method in interface ratpack.registry.Registry
-
Find and transform an item.
- first(Class<T>, Function<? super T, ? extends O>) - Method in interface ratpack.registry.Registry
-
- flatMap(Factory<? extends Promise<T>>) - Method in interface ratpack.exec.Operation
-
- flatMap(Promise<T>) - Method in interface ratpack.exec.Operation
-
- flatMap(Function<? super T, ? extends Promise<O>>) - Method in interface ratpack.exec.Promise
-
Transforms the promised value by applying the given function to it that returns a promise for the transformed value.
- flatMap(Publisher<I>, Function<? super I, ? extends Promise<? extends O>>) - Static method in class ratpack.stream.Streams
-
Returns a publisher that publishes items from the given input publisher after transforming each item via the given, promise returning, function.
- flatMap(Function<? super T, ? extends Promise<? extends O>>) - Method in interface ratpack.stream.TransformablePublisher
-
- flatMapError(Function<? super Throwable, ? extends Promise<T>>) - Method in interface ratpack.exec.Promise
-
Transforms a failure of the given type (potentially into a value) by applying the given function to it.
- flatMapError(Class<E>, Function<? super E, ? extends Promise<T>>) - Method in interface ratpack.exec.Promise
-
Transforms a failure of the given type (potentially into a value) by applying the given function to it.
- flatYield(Function<? super YieldRequest, ? extends Promise<T>>) - Static method in class ratpack.stream.Streams
-
Creates a new publisher, backed by the given asynchronous data producing function.
- forceCloseConnection() - Method in interface ratpack.http.Response
-
Forces the closing of the current connection, even if the client requested it to be kept alive.
- ForceDevelopmentImposition - Class in ratpack.impose
-
- ForceServerListenPortImposition - Class in ratpack.impose
-
Forces the port that the server should use to listen for requests.
- fork() - Method in interface ratpack.exec.ExecController
-
- fork() - Static method in interface ratpack.exec.Execution
-
Used to create a new execution.
- fork() - Method in interface ratpack.test.exec.ExecHarness
-
- forkEach(Observable<T>) - Static method in class ratpack.rx.RxRatpack
-
Parallelize an observable by creating a new Ratpack execution for each element.
- Form - Interface in ratpack.form
-
An uploaded form.
- form() - Static method in interface ratpack.form.Form
-
- form(boolean) - Static method in interface ratpack.form.Form
-
- FormParseOpts - Interface in ratpack.form
-
Options for parsing a
Form
.
- forwardTo(Response) - Method in interface ratpack.http.client.ReceivedResponse
-
- forwardTo(Response) - Method in interface ratpack.http.client.StreamedResponse
-
Stream this received response out to the given server response.
- forwardTo(Response, Action<? super MutableHeaders>) - Method in interface ratpack.http.client.StreamedResponse
-
Stream this received response out to the given server response.
- from(Consumer<T>) - Static method in interface ratpack.func.Action
-
Creates an action from a JDK consumer.
- from(BiConsumer<T, U>) - Static method in interface ratpack.func.BiAction
-
Creates an bi-action from a JDK bi-consumer.
- from(Function<I, O>) - Static method in interface ratpack.func.Function
-
Creates a function of this type from a JDK style function.
- from(Predicate<T>) - Static method in interface ratpack.func.Predicate
-
Creates a predicate from a JDK predicate.
- from(Chain) - Static method in interface ratpack.groovy.handling.GroovyChain
-
Creates a Groovy chain wrapper over a chain instance.
- from(Context) - Static method in interface ratpack.groovy.handling.GroovyContext
-
Creates a Groovy context from a context.
- from(RatpackServerSpec) - Static method in interface ratpack.groovy.server.GroovyRatpackServerSpec
-
- from(EmbeddedApp) - Static method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
-
- fromGuava(Function<I, O>) - Static method in interface ratpack.func.Function
-
Creates a function of this type from a Guava style function.
- fromGuava(Predicate<T>) - Static method in interface ratpack.func.Predicate
-
Creates a predicate from a Guava predicate.
- fromHandler(Closure<?>) - Static method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
-
- fromHandler(Handler) - Static method in interface ratpack.test.embed.EmbeddedApp
-
Creates an embedded application with a default launch config (no base dir, ephemeral port) and the given handler.
- fromHandlerFactory(Function<? super Registry, ? extends Handler>) - Static method in interface ratpack.test.embed.EmbeddedApp
-
Creates an embedded application with a default launch config (no base dir, ephemeral port) and the given handler.
- fromHandlers(Closure<?>) - Static method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
-
- fromHandlers(Action<? super Chain>) - Static method in interface ratpack.test.embed.EmbeddedApp
-
Creates an embedded application with a default launch config (no base dir, ephemeral port) and the given handler chain.
- fromJson(Class<T>) - Static method in class ratpack.jackson.Jackson
-
- fromJson(TypeToken<T>) - Static method in class ratpack.jackson.Jackson
-
- fromJson(Class<T>, ObjectMapper) - Static method in class ratpack.jackson.Jackson
-
- fromJson(TypeToken<T>, ObjectMapper) - Static method in class ratpack.jackson.Jackson
-
- fromServer(ServerConfigBuilder, Closure<?>) - Static method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
-
- fromServer(ServerConfig, Closure<?>) - Static method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
-
- fromServer(RatpackServer) - Static method in interface ratpack.test.embed.EmbeddedApp
-
Creates an embedded application for the given server.
- fromServer(Factory<? extends RatpackServer>) - Static method in interface ratpack.test.embed.EmbeddedApp
-
Creates an embedded application for the given server.
- fromServer(ServerConfigBuilder, Action<? super RatpackServerSpec>) - Static method in interface ratpack.test.embed.EmbeddedApp
-
Creates an embedded application using the given server config, and server creating function.
- fromServer(ServerConfig, Action<? super RatpackServerSpec>) - Static method in interface ratpack.test.embed.EmbeddedApp
-
Creates an embedded application using the given server config, and server creating function.
- Function<I,O> - Interface in ratpack.func
-
A single argument function.