- accept(ExecResult<? extends T>) - Method in interface ratpack.exec.Downstream
-
Signals this downstream, based on the given result.
- accept(Result<? extends T>) - Method in interface ratpack.exec.Downstream
-
Signals this downstream, based on the given result.
- accept(CompletionStage<? extends T>) - Method in interface ratpack.exec.Downstream
-
Sends the result of a CompletionStage downstream.
- accept(ListenableFuture<? extends T>) - Method in interface ratpack.exec.Downstream
-
Sends the result of the future downstream.
- accept(ExecResult<? extends T>) - Method in class ratpack.exec.util.Promised
-
Signals this downstream, based on the given result.
- accepts(String...) - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request claims that it can accept one of the given types, otherwise raises a 406 client error.
- Action<T> - Interface in ratpack.func
-
A generic type for an object that does some work with a thing.
- action() - Method in interface ratpack.func.Block
-
Creates an
Action
from this block, where the argument is ignored.
- add(ConfigSource) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source.
- add(Class<? super O>, O) - Method in interface ratpack.exec.Execution
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.exec.Execution
-
Adds a registry entry that is available by the given type.
- add(Object) - Method in interface ratpack.exec.Execution
-
Adds a registry entry.
- add(TypeToken<? super O>, O) - Method in interface ratpack.guice.BindingsSpec
-
- add(CharSequence, Object) - Method in interface ratpack.http.MutableHeaders
-
Adds a new header with the specified name and value.
- add(Class<? super O>, O) - Method in interface ratpack.http.Request
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.http.Request
-
Adds a registry entry that is available by the given type.
- add(Object) - Method in interface ratpack.http.Request
-
Adds a registry entry.
- add(Imposition) - Method in interface ratpack.impose.ImpositionsSpec
-
Adds the imposition, replacing any previous imposition of the exact same type.
- add(Object) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a registry entry.
- add(Class<? super O>, O) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a registry entry that is available by the given type.
- add(Class<? super O>, O) - Method in interface ratpack.registry.RegistrySpec
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.registry.RegistrySpec
-
Adds a registry entry that is available by the given type.
- add(Object) - Method in interface ratpack.registry.RegistrySpec
-
Adds a registry entry.
- add(ConfigSource) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source.
- addDefaultImpositions(ImpositionsSpec) - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
Adds default impositions, that make sense in most cases.
- addImpositions(ImpositionsSpec) - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
Adds impositions to be imposed on the server while it is being created and starting.
- addInterceptor(ExecInterceptor, Block) - Method in interface ratpack.exec.Execution
-
Adds an interceptor that wraps the rest of the current execution segment and all future segments of this execution.
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.exec.Execution
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.exec.Execution
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.guice.BindingsSpec
-
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.http.Request
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.http.Request
-
Adds a lazily created entry to the registry.
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a lazily created entry to the registry.
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistrySpec
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistrySpec
-
Adds a lazily created entry to the registry.
- address(InetAddress) - Method in interface ratpack.server.ServerConfigBuilder
-
Sets the address to bind to.
- all(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds the given Closure
as a Handler
to this GroovyChain
.
- all(Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds the given handler to this.
- all(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- all(Handler) - Method in class ratpack.groovy.handling.GroovyChainAction
-
Adds the given handler to this.
- all(Handler) - Method in interface ratpack.handling.Chain
-
Adds the given handler to this.
- all(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- alwaysFalse() - Static method in interface ratpack.func.Predicate
-
A predicate that always returns false
, regardless of the input object.
- alwaysTrue() - Static method in interface ratpack.func.Predicate
-
A predicate that always returns true
, regardless of the input object.
- andThen(Function<? super O, ? extends V>) - Method in interface ratpack.func.BiFunction
-
- andThen(Function<? super O, ? extends T>) - Method in interface ratpack.func.Function
-
Joins this
function with the given function.
- app() - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script named
"ratpack.groovy".
- app(boolean) - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script named
"ratpack.groovy".
- app(Path) - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script.
- app(boolean, Path) - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script.
- app(boolean, String...) - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script.
- append(Action<? super O>) - Method in interface ratpack.func.Action
-
Returns a new action that executes this action and then the given action.
- APPLICATION_FORM - Static variable in interface ratpack.http.MediaType
-
"application/x-www-form-urlencoded".
- APPLICATION_JSON - Static variable in interface ratpack.http.MediaType
-
"application/json".
- ApplicationUnderTest - Interface in ratpack.test
-
A Ratpack application that is being tested, or used at test time.
- apply(Function<? super Promise<T>, ? extends Promise<O>>) - Method in interface ratpack.exec.Promise
-
Applies the custom operation function to this promise.
- apply(I1, I2) - Method in interface ratpack.func.BiFunction
-
- apply(I) - Method in interface ratpack.func.Function
-
The function implementation.
- apply(T) - Method in interface ratpack.func.Predicate
-
Tests the given value.
- apply(ServerConfigBuilder) - Method in class ratpack.impose.ServerConfigImposition
-
Applies the overrides to the given builder.
- appWithArgs(String...) - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script named
"ratpack.groovy"
- appWithArgs(boolean, Path, String...) - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script.
- appWithArgs(boolean, String[], String...) - Static method in class ratpack.groovy.Groovy.Script
-
Creates an application defining action from a Groovy script.
- args(String[]) - Method in interface ratpack.config.ConfigDataBuilder
-
- args(String, String[]) - Method in interface ratpack.config.ConfigDataBuilder
-
- args(String, String, String[]) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for the given string args.
- args(String[]) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds the given args as a config source.
- args(String, String[]) - Method in interface ratpack.server.ServerConfigBuilder
-
- args(String, String, String[]) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for the given string args.
- asBool(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asByte(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asInt(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asLong(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asMultimap() - Method in interface ratpack.util.MultiValueMap
-
- asMultiValueMap() - Method in interface ratpack.http.Headers
-
- asShort(K) - Method in interface ratpack.util.TypeCoercingMap
-
- async(Upstream<T>) - Static method in interface ratpack.exec.Promise
-
Creates a promise for value that will be produced asynchronously.
- authenticator(Client<?, ?>...) - Static method in class ratpack.pac4j.RatpackPac4j
-
- authenticator(String, Client<?, ?>...) - Static method in class ratpack.pac4j.RatpackPac4j
-
Creates a handler that implements authentication when the request path matches, and makes a Pac4j
Clients
available to downstream handlers otherwise.
- authenticator(String, RatpackPac4j.ClientsProvider) - Static method in class ratpack.pac4j.RatpackPac4j
-
Creates a handler that implements authentication when the request path matches, and makes a Pac4j
Clients
available to downstream handlers otherwise.
- AutoCloseWebSocketHandler<T extends AutoCloseable> - Class in ratpack.websocket
-
- AutoCloseWebSocketHandler() - Constructor for class ratpack.websocket.AutoCloseWebSocketHandler
-