A B C D E F G H I J K L M N O P R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
M
- main(String...) - Static method in class ratpack.groovy.GroovyRatpackMain
-
Starts the server defined by calling
Groovy.Script.appWithArgs(String...)
. - 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(String) - Method in interface ratpack.groovy.template.TextTemplateModel
- map(String, Class<K>, Class<V>) - Method in interface ratpack.groovy.template.TextTemplateModel
- map(Publisher<I>, Function<? super I, ? extends O>) - Static method in class ratpack.exec.stream.Streams
-
Returns a publisher that publishes items from the given input publisher after transforming each item via the given function.
- map(Subscription, WriteStream<D>) - Method in interface ratpack.exec.stream.StreamMapper
-
A transform step in a
Publisher
chain. - map(Factory<? extends T>) - Method in interface ratpack.exec.Operation
- 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(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 T, ? extends O>) - Method in interface ratpack.exec.stream.TransformablePublisher
- 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.
- 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(Predicate<? super Throwable>, Function<? super Throwable, ? 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 O>, Function<? super T, ? extends O>) - 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.
- 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.
- 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.
- markReaderIndex() - Method in class ratpack.core.bytebuf.ByteBufRef
- 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
-
Renderable object for markup built using Groovy's
MarkupBuilder
. - 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
- markWriterIndex() - Method in class ratpack.core.bytebuf.ByteBufRef
- maxAttempts(int) - Method in interface ratpack.exec.util.retry.AttemptRetryPolicyBuilder
-
Maximum number of allowed retry attempts.
- maxCapacity() - Method in class ratpack.core.bytebuf.ByteBufRef
- maxChunkSize(int) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The maximum size of read chunks of request/response bodies.
- maxContentLength(int) - Method in interface ratpack.core.http.client.HttpClientSpec
-
The maximum size to allow for responses.
- maxContentLength(int) - Method in interface ratpack.core.http.client.RequestSpec
-
The maximum response length to accept.
- maxContentLength(int) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The max number of bytes a request body can be.
- maxDuration(Duration) - Method in interface ratpack.exec.util.retry.DurationRetryPolicyBuilder
-
Maximum duration until timeout of the retry policy.
- maxHeaderSize(int) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The maximum size of all headers allowed for reading http requests.
- maxInitialLineLength(int) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The maximum initial line length allowed for reading http requests.
- maxLength(int) - Method in interface ratpack.core.websocket.WebSocketSpec
- maxMessagesPerRead(int) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The maximum number of messages to read per read loop.
- maxWritableBytes() - Method in class ratpack.core.bytebuf.ByteBufRef
- maybeEncodedPath(String) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Appends the path to the URL, without escaping any meta characters, unless it is empty or
null
. - maybeGet(TypeToken<O>) - Method in interface ratpack.exec.registry.Registry
-
Does the same thing as
Registry.get(Class)
, except returns null instead of throwing an exception. - maybeGet(Class<O>) - Method in interface ratpack.exec.registry.Registry
-
Does the same thing as
Registry.get(Class)
, except returns null instead of throwing an exception. - maybeParent() - Method in interface ratpack.exec.Execution
-
A ref to the execution that forked this execution, if it has a parent.
- maybeParent() - Method in interface ratpack.exec.ExecutionRef
-
A ref to the execution that forked this execution, if it has a parent.
- maybePath(String) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Appends the path to the URL, unless it is empty or
null
. - MDCInterceptor - Class in ratpack.core.logging
-
An execution interceptor that adds support for SLF4J's Mapped Diagnostic Context (MDC) feature.
- MediaType - Interface in ratpack.core.http
-
A structured value for a Content-Type header value.
- memoryAddress() - Method in class ratpack.core.bytebuf.ByteBufRef
- 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.
- 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.
- merge(Publisher<? extends T>...) - Static method in class ratpack.exec.stream.Streams
-
Returns a publisher that merges the given input publishers into a single stream of elements.
- method(String) - Method in interface ratpack.core.http.client.RequestSpec
-
Specifies the request method.
- method(String) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Set the request method (case insensitive).
- method(String) - Method in interface ratpack.test.handling.RequestFixture
-
Set the request method (case insensitive).
- method(HttpMethod) - Method in interface ratpack.core.http.client.RequestSpec
-
Specifies the request method.
- METHOD_NOT_ALLOWED - Static variable in interface ratpack.core.http.Status
-
The 405 status code.
- MetricsPrometheusHandler - Class in ratpack.dropwizard.metrics
-
A Handler that exposes metric reports in Prometheus format.
- MetricsPrometheusHandler() - Constructor for class ratpack.dropwizard.metrics.MetricsPrometheusHandler
- 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.core.file
-
A registry for mime types.
- MISDIRECTED_REQUEST - Static variable in interface ratpack.core.http.Status
-
The 421 status code.
- mkdir(String) - Method in interface ratpack.test.embed.EphemeralBaseDir
-
Creates a directory at the given path within the base dir.
- MockApi - Class in ratpack.test.mock
-
A test harness for simulating behavior of remote APIs by starting an
EmbeddedApp
that will handle requests based on the content of the received request. - 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) - Method in interface ratpack.guice.BindingsSpec
- moduleConfig(Class<T>, C, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
-
Adds the bindings from the given configurable module.
- 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
- mono(Promise<T>) - Static method in class ratpack.reactor.ReactorRatpack
- MOVED_PERMANENTLY - Static variable in interface ratpack.core.http.Status
-
The 301 status code.
- MULTI_STATUS - Static variable in interface ratpack.core.http.Status
-
The 207 status code.
- multiBind(TypeToken<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
- multiBind(TypeLiteral<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
- multiBind(Class<T>) - Method in interface ratpack.guice.BindingsSpec
- multiBind(Class<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(TypeToken<T>, T) - Method in interface ratpack.guice.BindingsSpec
- multiBindInstance(TypeLiteral<T>, T) - Method in interface ratpack.guice.BindingsSpec
- multiBindInstance(Class<T>, T) - Method in interface ratpack.guice.BindingsSpec
- multiBindInstance(T) - Method in interface ratpack.guice.BindingsSpec
- multiBindProvider(TypeToken<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
- multiBindProvider(TypeLiteral<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() - Method in interface ratpack.exec.stream.TransformablePublisher
- multicast(Publisher<T>) - Static method in class ratpack.exec.stream.Streams
-
Returns a publisher that will stream events emitted from the given publisher to all of its subscribers.
- MultipartFileSpec - Interface in ratpack.test.http
- MultipartFormSpec - Interface in ratpack.test.http
- MULTIPLE_CHOICES - Static variable in interface ratpack.core.http.Status
-
The 300 status code.
- MultiValueMap<K,V> - Interface in ratpack.func
-
A map that may contain multiple values for a given key, but typically only one value.
- mutable() - Static method in interface ratpack.exec.registry.Registry
-
Creates a new, empty, mutable registry.
- MutableHeaders - Interface in ratpack.core.http
-
A set of HTTP headers that can be changed.
- MutableRegistry - Interface in ratpack.exec.registry
-
A
Registry
that is also mutable.
All Classes All Packages