- Pair<L,R> - Class in ratpack.func
-
A generic pair implementation that can be used to cumulatively aggregate a data structure during a promise pipeline.
- pair(L, R) - Static method in class ratpack.func.Pair
-
Creates a new pair.
- ParallelBatch<T> - Interface in ratpack.exec.util
-
A batch of promises to be processed, in parallel.
- params(String...) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Action<? super ImmutableMultimap.Builder<String, Object>>) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Map<String, ?>) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Multimap<String, ?>) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(MultiValueMap<String, ?>) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Action<? super ImmutableMultimap.Builder<String, Object>>) - Method in interface ratpack.test.http.TestHttpClient
-
- parse(Class<T>) - Method in interface ratpack.handling.Context
-
Parse the request into the given type, using no options (or more specifically an instance of
NullParseOpts
as the options).
- parse(TypeToken<T>) - Method in interface ratpack.handling.Context
-
Parse the request into the given type, using no options (or more specifically an instance of
NullParseOpts
as the options).
- parse(Class<T>, O) - Method in interface ratpack.handling.Context
-
- parse(TypeToken<T>, O) - Method in interface ratpack.handling.Context
-
- parse(Parse<T, O>) - Method in interface ratpack.handling.Context
-
Parses the request body into an object.
- parse(TypedData, Parse<T, O>) - Method in interface ratpack.handling.Context
-
Parses the provided request body into an object.
- parse(Context, TypedData, Parse<T, Void>) - Method in class ratpack.parse.NoOptParserSupport
-
- parse(Context, TypedData, TypeToken<T>) - Method in class ratpack.parse.NoOptParserSupport
-
The parser implementation.
- Parse<T,O> - Class in ratpack.parse
-
The specification of a particular parse.
- parse(Context, TypedData, Parse<T, O>) - Method in interface ratpack.parse.Parser
-
Deserializes the request body of the context into an object.
- parse(String, boolean) - Static method in interface ratpack.path.PathBinder
-
Creates a path binder by parsing the given path binding specification.
- ParseException - Exception in ratpack.parse
-
A generic super type for exceptions indicate something when wrong for a parse operation.
- ParseException(String) - Constructor for exception ratpack.parse.ParseException
-
Constructor.
- ParseException(String, Throwable) - Constructor for exception ratpack.parse.ParseException
-
Constructor.
- Parser<O> - Interface in ratpack.parse
-
A parser converts a request body into an object.
- ParserException - Exception in ratpack.parse
-
Wraps an exception thrown by a parser while parsing.
- ParserException(Parser<?>, Throwable) - Constructor for exception ratpack.parse.ParserException
-
Constructor.
- ParserSupport<O> - Class in ratpack.parse
-
A convenience superclass for
Parser
implementations.
- ParserSupport() - Constructor for class ratpack.parse.ParserSupport
-
Constructor.
- password - Variable in class ratpack.h2.H2Module
-
- patch(Block) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PATCH.
- patch(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(Handler) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(String, Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is PATCH
.
- patch(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- patch(Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is PATCH
and the path
is at the current root.
- patch(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- patch(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the
relative path
matches the given path
and the request
HTTPMethod
is PATCH
.
- patch(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the request
HTTPMethod
is PATCH
and the path
is at the current root.
- patch(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PATCH.
- patch(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is PATCH
.
- patch(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- patch(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is PATCH
and the path
is at the current root.
- patch(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- patch() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is PATCH, otherwise raises a 405 client error.
- patch() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the PATCH request method.
- PATCH - Static variable in interface ratpack.http.HttpMethod
-
The PATCH method.
- patch() - Method in interface ratpack.test.http.TestHttpClient
-
Make a PATCH request with a path of "" this is the same as calling patch("").
- patch(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a PATCH request to the specified path.
- patchText() - Method in interface ratpack.test.http.TestHttpClient
-
- patchText(String) - Method in interface ratpack.test.http.TestHttpClient
-
- path(String) - Method in interface ratpack.file.FileHandlerSpec
-
Specifies the request path to bind to for serving files.
- path(String, Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if the relative path
matches the given path
exactly.
- path(Handler) - Method in interface ratpack.groovy.handling.GroovyChain
- path(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- path(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- path(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the
relative path
matches the given path
exactly.
- path(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
- path(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if the relative path
matches the given path
exactly.
- path(Handler) - Method in interface ratpack.handling.Chain
-
- path(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- path(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- path(String, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request matches the given path exactly.
- path(PathBinder, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request can be bound by the given path binder.
- path(String) - Method in interface ratpack.http.HttpUrlBuilder
-
Appends the path to the URL.
- path(String) - Method in class ratpack.session.SessionCookieConfig
-
Set the path
for session cookie.
- path(String) - Method in interface ratpack.test.embed.EphemeralBaseDir
-
Returns a path for the given path within the base dir.
- path(String) - Method in interface ratpack.websocket.WebSocketSpec
-
- PathBinder - Interface in ratpack.path
-
A path binder binds to a request path, extracting information from it.
- PathBinderBuilder - Interface in ratpack.path
-
A builder to generate a
PathBinder
from a list of tokens and literals.
- pathBinding(Map<String, String>) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Adds a path binding, with the given path tokens.
- pathBinding(String, String, Map<String, String>) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Adds a path binding, with the given path tokens and parts.
- pathBinding(String, String, Map<String, String>, String) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Adds a path binding, with the given path tokens and parts.
- PathBinding - Interface in ratpack.path
-
A path binding represents some kind of "match" on the path of a request.
- pathBinding(Map<String, String>) - Method in interface ratpack.test.handling.RequestFixture
-
Adds a path binding, with the given path tokens.
- pathBinding(String, String, Map<String, String>) - Method in interface ratpack.test.handling.RequestFixture
-
Adds a path binding, with the given path tokens and parts.
- pathBinding(String, String, Map<String, String>, String) - Method in interface ratpack.test.handling.RequestFixture
-
Adds a path binding, with the given path tokens and parts.
- PathResolver - Interface in ratpack.config
-
- PathTokens - Interface in ratpack.path
-
A marker interface for the contextual object that represents the tokens extracted from the request path.
- periodically(ScheduledExecutorService, Duration, Function<? super Integer, ? extends T>) - Static method in class ratpack.stream.Streams
-
Executes the given function periodically, publishing the return value to the subscriber.
- periodically(Registry, Duration, Function<? super Integer, ? extends T>) - Static method in class ratpack.stream.Streams
-
- PLAIN_TEXT_UTF8 - Static variable in interface ratpack.http.MediaType
-
"text/plain;charset=utf-8".
- plainText(Block) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
-
- plainText(Handler) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
-
- plainText(Class<? extends Handler>) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
-
- plainText(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Block) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Handler) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Block) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Handler) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Class<? extends Handler>) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- poolSize(int) - Method in interface ratpack.http.client.HttpClientSpec
-
The maximum number of connections to maintain to a given protocol/host/port.
- port(int) - Method in interface ratpack.http.HttpUrlBuilder
-
Sets the port to the given value.
- port(int) - Method in interface ratpack.server.ServerConfigBuilder
-
Sets the port to listen for requests on.
- post(Block) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Defines the action to to take if the request has a HTTP method of POST.
- post(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(Handler) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(String, Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is POST
.
- post(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- post(Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is POST
and the path
is at the current root.
- post(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- post(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the
relative path
matches the given path
and the request
HTTPMethod
is POST
.
- post(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the request
HTTPMethod
is POST
and the path
is at the current root.
- post(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of POST.
- post(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is POST
.
- post(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- post(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is POST
and the path
is at the current root.
- post(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- post() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is POST, otherwise raises a 405 client error.
- post(URI, Action<? super RequestSpec>) - Method in interface ratpack.http.client.HttpClient
-
An asynchronous method to do a POST HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec, but the method will be defaulted to a POST.
- post() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the POST request method.
- POST - Static variable in interface ratpack.http.HttpMethod
-
The POST method.
- post() - Method in interface ratpack.test.http.TestHttpClient
-
Make a POST request with a path of "" this is the same as calling post("").
- post(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a POST request to the specified path.
- postText() - Method in interface ratpack.test.http.TestHttpClient
-
- postText(String) - Method in interface ratpack.test.http.TestHttpClient
-
- Predicate<T> - Interface in ratpack.func
-
A function that returns true
or false
for a value.
- prefix(String) - Method in class ratpack.dropwizard.metrics.GraphiteConfig
-
Prefix all metric names with the given string.
- prefix(String) - Method in class ratpack.dropwizard.metrics.Slf4jConfig
-
Prefix all metric names with the given string.
- prefix(String, Action<? super Chain>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handlers if the
relative path starts with the given prefix
.
- prefix(String, Class<? extends Action<? super Chain>>) - Method in interface ratpack.groovy.handling.GroovyChain
- prefix(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 delegates to the Handler
list if the relative path starts with the given
prefix
.
- prefix(String, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handlers if the
relative path starts with the given prefix
.
- prefix(String, Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- prefix(String, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request path starts with the given prefix.
- prepend(Action<? super O>) - Method in interface ratpack.func.Action
-
Returns a new action that executes the given action and then this action.
- prepend(Handler) - Static method in interface ratpack.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given handler before the “rest” of the handlers.
- prepend(Class<? extends Handler>) - Static method in interface ratpack.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given handler before the “rest” of the handlers.
- prependHandlers(Action<? super Chain>) - Static method in interface ratpack.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given chain before the “rest” of the handlers.
- prependHandlers(Class<? extends Action<? super Chain>>) - Static method in interface ratpack.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given chain before the “rest” of the handlers.
- promise() - Method in interface ratpack.exec.Operation
-
- Promise<T> - Interface in ratpack.exec
-
A promise for a single value.
- promise() - Method in class ratpack.exec.util.Promised
-
Creates a new promise for the eventual value.
- promise(Observable<T>) - Static method in class ratpack.rx.RxRatpack
-
Converts an
Observable
into a
Promise
, for all of the observable's items.
- promise(Observable.OnSubscribe<T>) - Static method in class ratpack.rx.RxRatpack
-
Converts an
Observable
into a
Promise
, for all of the observable's items.
- Promised<T> - Class in ratpack.exec.util
-
A logical value that will be available later, that promises can be created for.
- Promised() - Constructor for class ratpack.exec.util.Promised
-
- Promised.AlreadySuppliedException - Exception in ratpack.exec.util
-
Thrown if an attempt is made to supply the value/result after it has already been supplied.
- promiseOf(Class<T>) - Static method in class ratpack.util.Types
-
- promiseOf(TypeToken<T>) - Static method in class ratpack.util.Types
-
- promiseSingle(Observable<T>) - Static method in class ratpack.rx.RxRatpack
-
Converts an
Observable
into a
Promise
, for the observable's single item.
- promiseSingle(Observable.OnSubscribe<T>) - Static method in class ratpack.rx.RxRatpack
-
Converts an
Observable
into a
Promise
, for the observable's single item.
- props(ByteSource) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(Path) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(Properties) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties object.
- props(Map<String, String>) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a Map (flat key-value pairs).
- props(String) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds the properties file at the given path as a configuration source.
- props(URL) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(ByteSource) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- props(String) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds the properties file at the given path as a configuration source.
- props(Path) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- props(Properties) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties object.
- props(Map<String, String>) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a Map (flat key-value pairs).
- props(URL) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- protocol(String) - Method in interface ratpack.test.handling.RequestFixture
-
Set the HTTP protocol for the request.
- provide(TypeToken<T>) - Method in interface ratpack.registry.RegistryBacking
-
Provides instances to the Registry implementation which uses this method for looking up an iterable
result of Supplier instances for the given type.
- provider(TypeLiteral<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given public type, to the given provider.
- provider(TypeToken<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- provider(Class<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
- providerType(TypeLiteral<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given public type, to the given provider type.
- providerType(Class<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
-
- providerType(TypeToken<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
-
- PublicAddress - Interface in ratpack.server
-
The advertised public address.
- publicAddress(URI) - Method in interface ratpack.server.ServerConfigBuilder
-
The public address of the application.
- publish(Iterable<T>) - Static method in class ratpack.stream.Streams
-
Converts an iterable to a publishable.
- publish(Promise<? extends Iterable<T>>) - Static method in class ratpack.stream.Streams
-
Converts a
Promise
for an iterable into a publishable.
- publisher() - Method in interface ratpack.exec.util.Batch
-
Creates a publisher that emits the promised values.
- publisher() - Method in interface ratpack.exec.util.ParallelBatch
-
Creates a publisher that emits the promised values.
- publisher() - Method in interface ratpack.exec.util.SerialBatch
-
Creates a publisher that emits the promised values.
- publisher(ByteBufAllocator) - Method in class ratpack.http.ResponseChunks
-
Returns the chunk publisher.
- publisher(Observable<T>) - Static method in class ratpack.rx.RxRatpack
-
Converts an
Observable
into a
Publisher
, for all of the observable's items.
- publisher(Observable.OnSubscribe<T>) - Static method in class ratpack.rx.RxRatpack
-
Converts an
Observable
into a
Publisher
, for all of the observable's items.
- pushLeft(T) - Method in class ratpack.func.Pair
-
Creates a new pair, with this
as the right item and the given value as the left.
- pushRight(T) - Method in class ratpack.func.Pair
-
Creates a new pair, with this
as the left item and the given value as the right.
- put(Block) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PUT.
- put(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(Handler) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(String, Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is PUT
.
- put(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- put(Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is PUT
and the path
is at the current root.
- put(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- put(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the
relative path
matches the given path
and the request
HTTPMethod
is PUT
.
- put(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the request
HTTPMethod
is PUT
and the path
is at the current root.
- put(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PUT.
- put(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is PUT
.
- put(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- put(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is PUT
and the path
is at the current root.
- put(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- put() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is PUT, otherwise raises a 405 client error.
- put() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the PUT request method.
- PUT - Static variable in interface ratpack.http.HttpMethod
-
The PUT method.
- put() - Method in interface ratpack.test.http.TestHttpClient
-
Make a PUT request with a path of "" this is the same as calling put("").
- put(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a PUT request to the specified path.
- put(K, V) - Method in interface ratpack.util.MultiValueMap
-
Throws UnsupportedOperationException
.
- putAll(Map<? extends K, ? extends V>) - Method in interface ratpack.util.MultiValueMap
-
Throws UnsupportedOperationException
.
- putText() - Method in interface ratpack.test.http.TestHttpClient
-
- putText(String) - Method in interface ratpack.test.http.TestHttpClient
-