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
P
- pair(L, R) - Static method in class ratpack.func.Pair
-
Creates a new pair.
- 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.
- ParallelBatch<T> - Interface in ratpack.exec.util
-
A batch of promises to be processed, in parallel.
- params(Multimap<String, ?>) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(String...) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Map<String, ?>) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Action<? super ImmutableMultimap.Builder<String, Object>>) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Action<? super ImmutableMultimap.Builder<String, Object>>) - Method in interface ratpack.test.http.TestHttpClient
-
Specify query parameters to be included with outgoing requests from this client.
- params(MultiValueMap<String, ?>) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Add some query params to the URL.
- parse(TypeToken<T>) - Method in interface ratpack.core.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>, O) - Method in interface ratpack.core.handling.Context
-
Constructs a
Parse
from the given args and delegates toContext.parse(Parse)
. - parse(Class<T>) - Method in interface ratpack.core.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.core.handling.Context
-
Constructs a
Parse
from the given args and delegates toContext.parse(Parse)
. - parse(String, boolean) - Static method in interface ratpack.core.path.PathBinder
-
Creates a path binder by parsing the given path binding specification.
- parse(Context, TypedData, TypeToken<T>) - Method in class ratpack.core.parse.NoOptParserSupport
-
The parser implementation.
- parse(Context, TypedData, Parse<T, Void>) - Method in class ratpack.core.parse.NoOptParserSupport
-
Delegates to
NoOptParserSupport.parse(Context, TypedData, TypeToken)
, discarding the opts object of the givenparse
. - parse(Context, TypedData, Parse<T, O>) - Method in interface ratpack.core.parse.Parser
-
Deserializes the request body of the context into an object.
- parse(TypedData, Parse<T, O>) - Method in interface ratpack.core.handling.Context
-
Parses the provided request body into an object.
- parse(Parse<T, O>) - Method in interface ratpack.core.handling.Context
-
Parses the request body into an object.
- Parse<T,O> - Class in ratpack.core.parse
-
The specification of a particular parse.
- ParseException - Exception in ratpack.core.parse
-
A generic super type for exceptions indicate something when wrong for a parse operation.
- ParseException(String) - Constructor for exception ratpack.core.parse.ParseException
-
Constructor.
- ParseException(String, Throwable) - Constructor for exception ratpack.core.parse.ParseException
-
Constructor.
- Parser<O> - Interface in ratpack.core.parse
-
A parser converts a request body into an object.
- ParserException - Exception in ratpack.core.parse
-
Wraps an exception thrown by a parser while parsing.
- ParserException(Parser<?>, Throwable) - Constructor for exception ratpack.core.parse.ParserException
-
Constructor.
- ParserSupport<O> - Class in ratpack.core.parse
-
A convenience superclass for
Parser
implementations. - ParserSupport() - Constructor for class ratpack.core.parse.ParserSupport
-
Constructor.
- PARTIAL_CONTENT - Static variable in interface ratpack.core.http.Status
-
The 206 status code.
- password - Variable in class ratpack.h2.H2Module
- patch() - Static method in class ratpack.core.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.core.http.client.RequestSpec
-
Specifies to use the PATCH request 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(Closure<?>) - 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.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if therequest
HTTPMethod
isPATCH
and thepath
is at the current root. - patch(Class<? extends Handler>) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- 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(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- patch(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a PATCH request to the specified path.
- patch(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if the relativepath
matches the givenpath
and therequest
HTTPMethod
isPATCH
. - patch(String, Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- patch(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- patch(String, Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the relative
path
matches the givenpath
and therequest
HTTPMethod
isPATCH
. - 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 givenpath
and therequest
HTTPMethod
isPATCH
. - patch(Handler) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isPATCH
and thepath
is at the current root. - patch(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.GroovyChain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isPATCH
and thepath
is at the current root. - patch(Block) - Method in interface ratpack.core.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PATCH.
- 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 - Static variable in interface ratpack.core.http.HttpMethod
-
The PATCH method.
- patchText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PATCH request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
. - patchText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PATCH request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
. - path(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
- path(Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- path(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- path(String) - Method in interface ratpack.core.file.FileHandlerSpec
-
Specifies the request path to bind to for serving files.
- path(String) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Appends the path to the URL.
- path(String) - Method in interface ratpack.core.websocket.WebSocketSpec
- 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, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if the relativepath
matches the givenpath
exactly. - path(String, Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- path(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- path(String, Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the relative
path
matches the givenpath
exactly. - path(String, Handler) - Static method in class ratpack.core.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request matches the given path exactly.
- 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 givenpath
exactly. - path(Handler) - Method in interface ratpack.core.handling.Chain
- path(Handler) - Method in interface ratpack.groovy.handling.GroovyChain
- path(PathBinder, Handler) - Static method in class ratpack.core.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request can be bound by the given path binder.
- PathBinder - Interface in ratpack.core.path
-
A path binder binds to a request path, extracting information from it.
- PathBinderBuilder - Interface in ratpack.core.path
-
A builder to generate a
PathBinder
from a list of tokens and literals. - 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>) - 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.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.test.handling.RequestFixture
-
Adds a path binding, with the given path tokens and parts.
- pathBinding(Map<String, String>) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Adds a path binding, with the given path tokens.
- pathBinding(Map<String, String>) - Method in interface ratpack.test.handling.RequestFixture
-
Adds a path binding, with the given path tokens.
- PathBinding - Interface in ratpack.core.path
-
A path binding represents some kind of "match" on the path of a request.
- PathResolver - Interface in ratpack.config
- Paths2 - Class in ratpack.func
- Paths2() - Constructor for class ratpack.func.Paths2
- PathTokens - Interface in ratpack.core.path
-
A marker interface for the contextual object that represents the tokens extracted from the request path.
- PAYLOAD_TOO_LARGE - Static variable in interface ratpack.core.http.Status
-
The 413 status code.
- PAYMENT_REQUIRED - Static variable in interface ratpack.core.http.Status
-
The 402 status code.
- periodically(ScheduledExecutorService, Duration, Function<? super Integer, ? extends T>) - Static method in class ratpack.exec.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.exec.stream.Streams
- PERMANENT_REDIRECT - Static variable in interface ratpack.core.http.Status
-
The 308 status code.
- PLAIN_TEXT_UTF8 - Static variable in interface ratpack.core.http.MediaType
-
"text/plain;charset=utf-8".
- 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(Class<? extends Handler>) - Method in interface ratpack.core.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 class ratpack.groovy.handling.DefaultGroovyByContentSpec
- 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(Handler) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Handler) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- 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(Block) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Block) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- 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".
- pollingFrequencyInSeconds(int) - Method in class ratpack.dropwizard.metrics.HttpClientConfig
-
The frequency in seconds of which the HttpClient metrics will be refreshed.
- poolQueueSize(int) - Method in interface ratpack.core.http.client.HttpClientSpec
-
The maximum number of requests that will be queued if connection pool was depleted.
- poolSize(int) - Method in interface ratpack.core.http.client.HttpClientSpec
-
The maximum number of connections to maintain to a given protocol/host/port.
- port(int) - Method in interface ratpack.core.http.client.ProxySpec
-
Configure the port on the proxy to will outbound HTTP requests will be sent.
- port(int) - Method in interface ratpack.core.http.HttpUrlBuilder
-
Sets the port to the given value.
- port(int) - Method in interface ratpack.core.server.ServerConfigBuilder
-
Sets the port to listen for requests on.
- portFile(Path) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The path where to store the bind port.
- post() - Static method in class ratpack.core.handling.Handlers
-
A handler that delegates to the next handler if the request is POST, otherwise raises a 405 client error.
- post() - Method in interface ratpack.core.http.client.RequestSpec
-
Specifies to use the POST request 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(Closure<?>) - 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.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if therequest
HTTPMethod
isPOST
and thepath
is at the current root. - post(Class<? extends Handler>) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- 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(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- post(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a POST request to the specified path.
- post(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if the relativepath
matches the givenpath
and therequest
HTTPMethod
isPOST
. - post(String, Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- post(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- post(String, Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the relative
path
matches the givenpath
and therequest
HTTPMethod
isPOST
. - 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 givenpath
and therequest
HTTPMethod
isPOST
. - post(URI, Action<? super RequestSpec>) - Method in interface ratpack.core.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(Handler) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isPOST
and thepath
is at the current root. - post(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.GroovyChain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isPOST
and thepath
is at the current root. - post(Block) - Method in interface ratpack.core.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of POST.
- 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 - Static variable in interface ratpack.core.http.HttpMethod
-
The POST method.
- postText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a POST request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
. - postText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a POST request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
. - PRECONDITION_FAILED - Static variable in interface ratpack.core.http.Status
-
The 412 status code.
- PRECONDITION_REQUIRED - Static variable in interface ratpack.core.http.Status
-
The 428 status code.
- Predicate<T> - Interface in ratpack.func
-
A function that returns
true
orfalse
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) - Method in interface ratpack.exec.ExecControllerSpec.BlockingSpec
-
Specify the thread name prefix to use for threads created by this executor service.
- prefix(String) - Method in interface ratpack.exec.ExecControllerSpec.ComputeSpec
-
Specify the thread prefix to utilize when constructing new threads from this group.
- prefix(String) - Method in interface ratpack.exec.ExecControllerSpec.EventLoopSpec
-
Specify the thread prefix to utilize when constructing new threads from this group.
- prefix(String) - Method in interface ratpack.exec.ExecControllerSpec.ExecutorServiceSpec
-
Specify the thread name prefix to use for threads created by this executor service.
- prefix(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Creates a
List
ofHandler
from the givenClosure
and adds aHandler
to thisGroovyChain
that delegates to theHandler
list if the relative path starts with the givenprefix
. - prefix(String, Class<? extends Action<? super Chain>>) - Method in interface ratpack.core.handling.Chain
- prefix(String, Class<? extends Action<? super Chain>>) - Method in interface ratpack.groovy.handling.GroovyChain
- prefix(String, Handler) - Static method in class ratpack.core.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request path starts with the given prefix.
- prefix(String, Action<? super Chain>) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handlers if the relative path starts with the given
prefix
. - 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
. - prepend(Class<? extends Handler>) - Static method in interface ratpack.core.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given handler before the “rest” of the handlers.
- prepend(Handler) - Static method in interface ratpack.core.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given handler before the “rest” of the handlers.
- prepend(Action<? super O>) - Method in interface ratpack.func.Action
-
Returns a new action that executes the given action and then this action.
- prependHandlers(Class<? extends Action<? super Chain>>) - Static method in interface ratpack.core.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given chain before the “rest” of the handlers.
- prependHandlers(Action<? super Chain>) - Static method in interface ratpack.core.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given chain before the “rest” of the handlers.
- priority(int) - Method in interface ratpack.exec.ExecControllerSpec.BlockingSpec
-
Specify the thread priority for threads created by this executor service.
- priority(int) - Method in interface ratpack.exec.ExecControllerSpec.ComputeSpec
-
Specify the thread priority for threads created by this group.
- priority(int) - Method in interface ratpack.exec.ExecControllerSpec.EventLoopSpec
-
Specify the thread priority for threads created by this group.
- priority(int) - Method in interface ratpack.exec.ExecControllerSpec.ExecutorServiceSpec
-
Specify the thread priority for threads created by this executor service.
- PROCESSING - Static variable in interface ratpack.core.http.Status
-
The 102 status code.
- prometheusCollection(boolean) - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
The state of Prometheus metrics collection.
- promise() - Method in interface ratpack.exec.Operation
- promise() - Method in class ratpack.exec.util.Promised
-
Creates a new promise for the eventual value.
- promise(Single<T>) - Static method in class ratpack.rx2.RxRatpack
- promise(SingleOnSubscribe<T>) - Static method in class ratpack.rx2.RxRatpack
-
Converts an
SingleOnSubscribe
into aPromise
, for the Single's item. - promise(Flux<T>) - Static method in class ratpack.reactor.ReactorRatpack
- Promise<T> - Interface in ratpack.exec
-
A promise for a single value.
- promiseAll(Observable<T>) - Static method in class ratpack.rx2.RxRatpack
-
Converts an
Observable
into aPromise
, for all of the observable's items. - promiseAll(ObservableOnSubscribe<T>) - Static method in class ratpack.rx2.RxRatpack
-
Converts an
Observable
into aPromise
, 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.
- promiseSingle(Mono<T>) - Static method in class ratpack.reactor.ReactorRatpack
- PropertiesUtil - Class in ratpack.func
- PropertiesUtil() - Constructor for class ratpack.func.PropertiesUtil
- props(ByteSource) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(ByteSource) - Method in interface ratpack.core.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- props(String) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds the properties file at the given path as a configuration source.
- props(String) - Method in interface ratpack.core.server.ServerConfigBuilder
-
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(URL) - Method in interface ratpack.core.server.ServerConfigBuilder
-
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(Path) - Method in interface ratpack.core.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- props(Map<String, String>) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a Map (flat key-value pairs).
- props(Map<String, String>) - Method in interface ratpack.core.server.ServerConfigBuilder
-
Adds a configuration source for a Map (flat key-value pairs).
- props(Properties) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties object.
- props(Properties) - Method in interface ratpack.core.server.ServerConfigBuilder
-
Adds a configuration source for a properties object.
- protocol(String) - Method in interface ratpack.test.handling.RequestFixture
-
Set the HTTP protocol for the request.
- provide(TypeToken<T>) - Method in interface ratpack.exec.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(TypeToken<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
- 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(Class<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
- providerType(TypeToken<T>, Class<? extends 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
- proxy(Action<? super ProxySpec>) - Method in interface ratpack.core.http.client.HttpClientSpec
-
Configure a HTTP proxy for outgoing calls from this client.
- Proxy - Interface in ratpack.core.http.client
-
Configuration data for an HTTP proxy to utilize for outbound requests using
HttpClient
. - PROXY_AUTH_REQUIRED - Static variable in interface ratpack.core.http.Status
-
The 407 status code.
- ProxySpec - Interface in ratpack.core.http.client
-
Class for specifying configuration for an HTTP proxy to utilize for outgoing requests using
HttpClient
. - publicAddress(URI) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The public address of the application.
- PublicAddress - Interface in ratpack.core.server
-
The advertised public address.
- publish(Iterable<T>) - Static method in class ratpack.exec.stream.Streams
-
Converts an iterable to a publishable.
- publish(Promise<? extends Iterable<T>>) - Static method in class ratpack.exec.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.core.http.ResponseChunks
-
Returns the chunk publisher.
- publisher(Observable<T>, BackpressureStrategy) - Static method in class ratpack.rx2.RxRatpack
-
Converts an
Observable
into aPublisher
, for all of the observable's items. - publisher(ObservableOnSubscribe<T>, BackpressureStrategy) - Static method in class ratpack.rx2.RxRatpack
-
Converts an
Observable
into aPublisher
, for all of the observable's items. - publisher(Flux<T>) - Static method in class ratpack.reactor.ReactorRatpack
- 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() - Static method in class ratpack.core.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.core.http.client.RequestSpec
-
Specifies to use the PUT request 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(Closure<?>) - 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.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if therequest
HTTPMethod
isPUT
and thepath
is at the current root. - put(Class<? extends Handler>) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- 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(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- put(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a PUT request to the specified path.
- put(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if the relativepath
matches the givenpath
and therequest
HTTPMethod
isPUT
. - put(String, Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- put(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- put(String, Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the relative
path
matches the givenpath
and therequest
HTTPMethod
isPUT
. - 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 givenpath
and therequest
HTTPMethod
isPUT
. - put(K, V) - Method in interface ratpack.func.MultiValueMap
-
Throws
UnsupportedOperationException
. - put(Handler) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isPUT
and thepath
is at the current root. - put(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.GroovyChain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isPUT
and thepath
is at the current root. - put(Block) - Method in interface ratpack.core.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PUT.
- 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 - Static variable in interface ratpack.core.http.HttpMethod
-
The PUT method.
- putAll(Map<? extends K, ? extends V>) - Method in interface ratpack.func.MultiValueMap
-
Throws
UnsupportedOperationException
. - putText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PUT request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
. - putText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PUT request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
.
All Classes All Packages