- main(String...) - Static method in class ratpack.groovy.GroovyRatpackMain
-
- MainClassApplicationUnderTest - Class in ratpack.test
-
An application under test fixture that can be used to test a server started by a “main” method.
- MainClassApplicationUnderTest(Class<?>) - Constructor for class ratpack.test.MainClassApplicationUnderTest
-
Creates a new app under test, based on the given main class.
- map(String) - Method in interface ratpack.config.EnvironmentParser
-
Transforms a segment.
- map(Factory<? extends T>) - Method in interface ratpack.exec.Operation
-
- map(Function<? super T, ? extends O>) - Method in interface ratpack.exec.Promise
-
Transforms the promised value by applying the given function to it.
- map(Function<? super Block, ? extends T>) - Method in interface ratpack.func.Block
-
Maps a block onto a new object with the provided function.
- map(Function<? super Pair<L, R>, ? extends T>) - Method in class ratpack.func.Pair
-
Applies the given function to this
, returning the result.
- map(String, Class<K>, Class<V>) - Method in interface ratpack.groovy.template.TextTemplateModel
-
- map(String) - Method in interface ratpack.groovy.template.TextTemplateModel
-
- map(Subscription, WriteStream<D>) - Method in interface ratpack.stream.StreamMapper
-
- map(Publisher<I>, Function<? super I, ? 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 function.
- map(Function<? super T, ? extends O>) - Method in interface ratpack.stream.TransformablePublisher
-
- mapError(Action<? super Throwable>) - Method in interface ratpack.exec.Operation
-
Convert an error to a success or different error.
- mapError(Function<? super Throwable, ? extends T>) - Method in interface ratpack.exec.Promise
-
Transforms the promise failure (potentially into a value) by applying the given function to it.
- mapError(Class<E>, Function<? super E, ? extends 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.
- mapIf(Predicate<? super T>, Function<? super T, ? extends T>) - Method in interface ratpack.exec.Promise
-
Transforms the promised value by applying the given function to it, if it satisfies the predicate.
- mapIf(Predicate<? super T>, Function<? super T, ? extends T>, Function<? super T, ? extends T>) - Method in interface ratpack.exec.Promise
-
Transforms the promised value by applying one of the given functions to it, depending if it satisfies the predicate.
- mapLeft(Function<? super L, ? extends T>) - Method in class ratpack.func.Pair
-
Creates a new pair, with the left item being the result of applying the given function to the left item of this
.
- mapRight(Function<? super R, ? extends T>) - Method in class ratpack.func.Pair
-
Creates a new pair, with the right item being the result of applying the given function to the right item of this
.
- marker(Marker) - Method in class ratpack.dropwizard.metrics.Slf4jConfig
-
Mark all logged metrics with the given marker.
- Markup - Class in ratpack.groovy.template
-
- Markup(CharSequence, Charset, Closure<?>) - Constructor for class ratpack.groovy.template.Markup
-
- markupBuilder(CharSequence, CharSequence, Closure<?>) - Static method in class ratpack.groovy.Groovy
-
- markupBuilder(CharSequence, Charset, Closure<?>) - Static method in class ratpack.groovy.Groovy
-
- MarkupTemplate - Class in ratpack.groovy.template
-
- MarkupTemplate(String, String, Map<?, ?>) - Constructor for class ratpack.groovy.template.MarkupTemplate
-
- MarkupTemplateModule - Class in ratpack.groovy.template
-
An extension module that provides support for the Groovy markup template engine.
- MarkupTemplateModule() - Constructor for class ratpack.groovy.template.MarkupTemplateModule
-
- MarkupTemplateModule.Config - Class in ratpack.groovy.template
-
- maxChunkSize(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The maximum size of read chunks of request/response bodies.
- maxContentLength(int) - Method in interface ratpack.http.client.HttpClientSpec
-
The maximum size to allow for responses.
- maxContentLength(int) - Method in interface ratpack.http.client.RequestSpec
-
The maximum response length to accept.
- maxContentLength(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The max number of bytes a request body can be.
- maxHeaderSize(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The maximum size of all headers allowed for reading http requests.
- maxInitialLineLength(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The maximum initial line length allowed for reading http requests.
- maxLength(int) - Method in interface ratpack.websocket.WebSocketSpec
-
- maxMessagesPerRead(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The maximum number of messages to read per read loop.
- maybeEncodedPath(String) - Method in interface ratpack.http.HttpUrlBuilder
-
Appends the path to the URL, without escaping any meta characters, unless it is empty or null
.
- maybeGet(Class<O>) - Method in interface ratpack.registry.Registry
-
Does the same thing as
Registry.get(Class)
, except returns null instead of throwing an exception.
- maybeGet(TypeToken<O>) - Method in interface ratpack.registry.Registry
-
Does the same thing as
Registry.get(Class)
, except returns null instead of throwing an exception.
- maybePath(String) - Method in interface ratpack.http.HttpUrlBuilder
-
Appends the path to the URL, unless it is empty or null
.
- MDCInterceptor - Class in ratpack.logging
-
- MediaType - Interface in ratpack.http
-
A structured value for a Content-Type header value.
- memoryStore(Consumer<? super CacheBuilder<AsciiString, ByteBuf>>) - Static method in class ratpack.session.SessionModule
-
A builder for an alternative cache for the default in memory store.
- memoryStore(Binder, Consumer<? super CacheBuilder<AsciiString, ByteBuf>>) - Static method in class ratpack.session.SessionModule
-
A builder for an alternative cache for the default in memory store.
- merge(Publisher<? extends T>...) - Static method in class ratpack.stream.Streams
-
Returns a publisher that merges the given input publishers into a single stream of elements.
- method(String) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Set the request method (case insensitive).
- method(String) - Method in interface ratpack.http.client.RequestSpec
-
Specifies the request method.
- method(HttpMethod) - Method in interface ratpack.http.client.RequestSpec
-
Specifies the request method.
- method(String) - Method in interface ratpack.test.handling.RequestFixture
-
Set the request method (case insensitive).
- MetricsWebsocketBroadcastHandler - Class in ratpack.dropwizard.metrics
-
A Handler that broadcasts metric reports via web sockets.
- MetricsWebsocketBroadcastHandler() - Constructor for class ratpack.dropwizard.metrics.MetricsWebsocketBroadcastHandler
-
- MimeTypes - Interface in ratpack.file
-
A registry for mime types.
- mkdir(String) - Method in interface ratpack.test.embed.EphemeralBaseDir
-
Creates a directory at the given path within the base dir.
- module(Module) - Method in interface ratpack.guice.BindingsSpec
-
Adds the bindings from the given module.
- module(Class<? extends Module>) - Method in interface ratpack.guice.BindingsSpec
-
Adds the bindings from the given module.
- module(Class<T>, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
-
Adds the bindings from the given configurable module.
- module(ConfigurableModule<C>, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
-
Adds the bindings from the given configurable module.
- moduleConfig(Class<T>, C, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
-
Adds the bindings from the given configurable module.
- moduleConfig(Class<T>, C) - Method in interface ratpack.guice.BindingsSpec
-
- moduleConfig(ConfigurableModule<C>, C, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
-
Adds the bindings from the given configurable module.
- moduleConfig(T, C) - Method in interface ratpack.guice.BindingsSpec
-
- multiBind(Class<T>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBind(TypeLiteral<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBind(Class<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBind(TypeToken<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBinder(TypeToken<T>, Action<? super Multibinder<T>>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBinder(TypeLiteral<T>, Action<? super Multibinder<T>>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBinder(Class<T>, Action<? super Multibinder<T>>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindInstance(Class<T>, T) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindInstance(TypeLiteral<T>, T) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindInstance(TypeToken<T>, T) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindInstance(T) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindProvider(TypeLiteral<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindProvider(TypeToken<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindProvider(Class<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- multiBindProviderType(Class<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
-
- multicast(Publisher<T>) - Static method in class ratpack.stream.Streams
-
Returns a publisher that will stream events emitted from the given publisher to all of its subscribers.
- multicast() - Method in interface ratpack.stream.TransformablePublisher
-
- MultiValueMap<K,V> - Interface in ratpack.util
-
A map that may contain multiple values for a given key, but typically only one value.
- mutable() - Static method in interface ratpack.registry.Registry
-
Creates a new, empty, mutable registry.
- MutableHeaders - Interface in ratpack.http
-
A set of HTTP headers that can be changed.
- MutableRegistry - Interface in ratpack.registry
-