- Pac4jCallbackHandlerBuilder - Class in ratpack.pac4j
-
- Pac4jCallbackHandlerBuilder() - Constructor for class ratpack.pac4j.Pac4jCallbackHandlerBuilder
-
- Pac4jModule<C extends Credentials,U extends UserProfile> - Class in ratpack.pac4j
-
An extension module that provides support for authentication via pac4j.
- Pac4jModule(Client<C, U>, Authorizer) - Constructor for class ratpack.pac4j.Pac4jModule
-
Constructs a new instance.
- 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.
- 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(Action<? super ImmutableMultimap.Builder<String, Object>>) - Method in interface ratpack.test.http.TestHttpClient
-
- parent(Injector) - Method in interface ratpack.guice.Guice.Builder
-
- parentInjector(Injector) - Method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp.Spec
-
- 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(Context, TypedData, Parse<T, NullParseOpts>) - 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 class ratpack.path.PathBinders
-
- 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(String) - Constructor for class ratpack.parse.ParserSupport
-
Constructor.
- password - Variable in class ratpack.h2.H2Module
-
- patch(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Defines the action to to take 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(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take 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.test.http.TestHttpClient
-
- patch(String) - Method in interface ratpack.test.http.TestHttpClient
-
- patchText() - Method in interface ratpack.test.http.TestHttpClient
-
- patchText(String) - Method in interface ratpack.test.http.TestHttpClient
-
- 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 some path to the URL.
- 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.
- PathBinders - Class in ratpack.path
-
- 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 - 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.
- PathTokens - Interface in ratpack.path
-
A marker interface for the contextual object that represents the tokens extracted from the request path.
- periodically(ScheduledExecutorService, long, TimeUnit, Function<Integer, T>) - Static method in class ratpack.stream.Streams
-
Executes the given function periodically, publishing the return value to the subscriber.
- periodically(LaunchConfig, long, TimeUnit, Function<Integer, T>) - Static method in class ratpack.stream.Streams
-
- PLAIN_TEXT_UTF8 - Static variable in interface ratpack.http.MediaType
-
"text/plain;charset=utf-8".
- plainText(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Convenience method to respond with "text/plain" mime type.
- 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".
- port(int) - Method in interface ratpack.http.HttpUrlBuilder
-
Sets the port to the given value.
- port(int) - Method in class ratpack.launch.LaunchConfigBuilder
-
Sets the port to bind to.
- PORT - Static variable in class ratpack.launch.LaunchConfigs.Environment
-
The port to listen for requests on.
- PORT - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The port to listen for requests on.
- post(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Defines the action to to take 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(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take 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.test.http.TestHttpClient
-
- post(String) - Method in interface ratpack.test.http.TestHttpClient
-
- 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.
- predicate - Variable in class ratpack.registry.PredicateCacheability.CacheKey
-
- PredicateCacheability - Class in ratpack.registry
-
- PredicateCacheability.CacheKey<T> - Class in ratpack.registry
-
- 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.
- promise(Action<? super Fulfiller<T>>) - Method in interface ratpack.exec.ExecControl
-
Creates a promise for an asynchronously created value.
- Promise<T> - Interface in ratpack.exec
-
A promise for a value that will be available later.
- promise(Action<? super Fulfiller<T>>) - Method in interface ratpack.handling.Context
-
Creates a promise of a value that will made available asynchronously.
- promise(Action<? super Fulfiller<T>>) - Method in interface ratpack.test.exec.ExecHarness
-
Creates a promise for an asynchronously created value.
- PromiseOperations<T> - Interface in ratpack.exec
-
Operations that can be performed on promises to define an asynchronous data flow.
- 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(Class<T>, Provider<? extends T>) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
Add a binding for the given public type, to the given provider.
- provider(Class<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
-
Add a binding for the given public type, to the given provider.
- providerType(Class<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
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
-
Add a binding for the given public type, to the given provider type.
- PUBLIC_ADDRESS - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The public address of the site.
- publicAddress(URI) - Method in class ratpack.launch.LaunchConfigBuilder
-
The public address of the application.
- PublicAddress - Interface in ratpack.server
-
The advertised public address.
- publish(Iterable<T>) - Static method in class ratpack.stream.Streams
-
Converts an iterable to a publishable.
- publisher(ByteBufAllocator) - Method in class ratpack.http.ResponseChunks
-
Returns the chunk publisher.
- 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(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Defines the action to to take 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(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take 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.test.http.TestHttpClient
-
- put(String) - Method in interface ratpack.test.http.TestHttpClient
-
- put(K, V) - Method in interface ratpack.util.MultiValueMap
-
- putAll(Map<? extends K, ? extends V>) - Method in interface ratpack.util.MultiValueMap
-
- putText() - Method in interface ratpack.test.http.TestHttpClient
-
- putText(String) - Method in interface ratpack.test.http.TestHttpClient
-