- 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<U>) - Constructor for class ratpack.pac4j.Pac4jModule
-
Constructs a new instance.
- 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(Class<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, Class<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.
- 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.GroovyByMethodHandler
-
Defines the action to to take 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
is PATCH
and the path
is at the current root.
- 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, 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 class ratpack.groovy.handling.GroovyChainAction
-
- patch(String, Handler) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- patch(String, Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- patch(Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- patch() - Method in interface ratpack.groovy.test.TestHttpClient
-
- patch(String) - Method in interface ratpack.groovy.test.TestHttpClient
-
- patch(Runnable) - Method in interface ratpack.handling.ByMethodHandler
-
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(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() - 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.
- patchText() - Method in interface ratpack.groovy.test.TestHttpClient
-
- patchText(String) - Method in interface ratpack.groovy.test.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.websocket.WebSocketBuilder
-
- PathBaseDirBuilder - Class in ratpack.test.embed
-
- PathBaseDirBuilder(File) - Constructor for class ratpack.test.embed.PathBaseDirBuilder
-
Constructor.
- PathBaseDirBuilder(Path) - Constructor for class ratpack.test.embed.PathBaseDirBuilder
-
Constructor.
- PathBinder - Interface in ratpack.path
-
A path binder binds to a request path, extracting information from it.
- pathBinding(Map<String, String>) - Method in interface ratpack.groovy.test.handling.GroovyInvocationBuilder
-
- pathBinding(String, String, Map<String, String>) - Method in interface ratpack.groovy.test.handling.GroovyInvocationBuilder
-
- 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.InvocationBuilder
-
- pathBinding(String, String, Map<String, String>) - Method in interface ratpack.test.handling.InvocationBuilder
-
- PathTokens - Interface in ratpack.path
-
A marker interface for the contextual object that represents the tokens extracted from the request path.
- plainText(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByContentHandler
-
Convenience method to respond with "text/plain" mime type.
- plainText(Runnable) - Method in interface ratpack.handling.ByContentHandler
-
Convenience method to respond with "text/plain" mime type.
- port(int) - Method in class ratpack.launch.LaunchConfigBuilder
-
Sets the port to bind to.
- PORT - Static variable in class ratpack.launch.LaunchConfigFactory.Property
-
The port to listen for requests on.
- post(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodHandler
-
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, 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(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(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(String, Handler) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- post(String, Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- post(Handler) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- post(Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- post() - Method in interface ratpack.groovy.test.TestHttpClient
-
- post(String) - Method in interface ratpack.groovy.test.TestHttpClient
-
- post(Runnable) - Method in interface ratpack.handling.ByMethodHandler
-
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(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() - 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.
- postText() - Method in interface ratpack.groovy.test.TestHttpClient
-
- postText(String) - Method in interface ratpack.groovy.test.TestHttpClient
-
- prefix(String, Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler 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
.
- 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, Handler) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- prefix(String, Action<? super Chain>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- prefix(String, Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- prefix(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler 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, 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.
- ProcessingInterceptor - Interface in ratpack.handling
-
Intercepts the processing of the request, primarily for traceability and recording metrics.
- ProcessingInterceptor.Type - Enum in ratpack.handling
-
The processing type (i.e.
- provider(Class<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.ModuleRegistry
-
Bind the given provider with Guice, under the given type.
- PUBLIC_ADDRESS - Static variable in class ratpack.launch.LaunchConfigFactory.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.
- put(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodHandler
-
Defines the action to to take 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
is PUT
and the path
is at the current root.
- 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, 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 class ratpack.groovy.handling.GroovyChainAction
-
- put(String, Handler) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- put(String, Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- put(Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- put() - Method in interface ratpack.groovy.test.TestHttpClient
-
- put(String) - Method in interface ratpack.groovy.test.TestHttpClient
-
- put(Runnable) - Method in interface ratpack.handling.ByMethodHandler
-
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(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() - 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(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.groovy.test.TestHttpClient
-
- putText(String) - Method in interface ratpack.groovy.test.TestHttpClient
-