Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X Y 

P

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
 
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
Constructs a Parse from the given args and delegates to Context.parse(Parse).
parse(TypeToken<T>, O) - Method in interface ratpack.handling.Context
Constructs a Parse from the given args and delegates to Context.parse(Parse).
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
Delegates to NoOptParserSupport.parse(ratpack.handling.Context, ratpack.http.TypedData, TypeToken), discarding the opts object of the given parse.
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(ObjectMapper) - Method in class ratpack.jackson.guice.JacksonModule
 
parser(ObjectMapper) - Static method in class ratpack.jackson.Jackson.Init
The parser.
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(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(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
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
A convenience method for doing a PATCH request then calling ReceivedResponse.getBody() then TypedData.getText().
patchText(String) - Method in interface ratpack.test.http.TestHttpClient
A convenience method for doing a PATCH request then calling ReceivedResponse.getBody() then TypedData.getText().
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 some path to the URL.
path(String) - Method in class ratpack.session.SessionCookieConfig
Set the path for session cookie.
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, Duration, Function<Integer, T>) - Static method in class ratpack.stream.Streams
Executes the given function periodically, publishing the return value to the subscriber.
periodically(Registry, Duration, 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(Block) - 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 interface ratpack.server.ServerConfig.Builder
Sets the port to listen for requests on.
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(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
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
A convenience method for doing a POST request then calling ReceivedResponse.getBody() then TypedData.getText().
postText(String) - Method in interface ratpack.test.http.TestHttpClient
A convenience method for doing a GET request then calling ReceivedResponse.getBody() then TypedData.getText().
Predicate<T> - Interface in ratpack.func
A function that returns true or false for a value.
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(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.
prettyPrint(boolean) - Method in class ratpack.jackson.guice.JacksonModule.Config
Sets whether JSON should be pretty printed.
promise(Action<? super Fulfiller<T>>) - Method in interface ratpack.exec.ExecControl
Creates a promise for an asynchronously created value.
promise() - Method in interface ratpack.exec.Operation
 
Promise<T> - Interface in ratpack.exec
A promise for a single value.
promise(Action<? super Fulfiller<T>>) - Method in interface ratpack.handling.Context
Creates a promise of a value that will made available asynchronously.
promise(Observable<T>) - Static method in class ratpack.rx.RxRatpack
Converts an Observable into a Promise, for all of the observable's items.
promise(Action<? super Fulfiller<T>>) - Method in interface ratpack.test.exec.ExecHarness
Creates a promise for an asynchronously created value.
promiseFrom(Factory<? extends T>) - Method in interface ratpack.exec.ExecControl
 
promiseOf(T) - Method in interface ratpack.exec.ExecControl
Creates a promise for the given value.
promiseOf(Class<T>) - Static method in class ratpack.util.Types
Creates a type token for a promise of of the given type.
promiseOf(TypeToken<T>) - Static method in class ratpack.util.Types
Creates a type token for a promise of of the given type.
promiseSingle(Observable<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.ConfigDataSpec
Adds a configuration source for a properties file.
props(Path) - Method in interface ratpack.config.ConfigDataSpec
Adds a configuration source for a properties file.
props(Properties) - Method in interface ratpack.config.ConfigDataSpec
Adds a configuration source for a properties object.
props(Map<String, String>) - Method in interface ratpack.config.ConfigDataSpec
Adds a configuration source for a Map (flat key-value pairs).
props(String) - Method in interface ratpack.config.ConfigDataSpec
Adds a configuration source for a properties file.
props(URL) - Method in interface ratpack.config.ConfigDataSpec
Adds a configuration source for a properties file.
props(ByteSource) - Method in interface ratpack.server.ServerConfig.Builder
Adds a configuration source for a properties file.
props(String) - Method in interface ratpack.server.ServerConfig.Builder
Adds a configuration source for a properties file.
props(Path) - Method in interface ratpack.server.ServerConfig.Builder
Adds a configuration source for a properties file.
props(Properties) - Method in interface ratpack.server.ServerConfig.Builder
Adds a configuration source for a properties object.
props(Map<String, String>) - Method in interface ratpack.server.ServerConfig.Builder
Adds a configuration source for a Map (flat key-value pairs).
props(URL) - Method in interface ratpack.server.ServerConfig.Builder
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.ServerConfig.Builder
The public address of the application.
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.
publisher(Observable<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(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(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
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
putAll(Map<? extends K, ? extends V>) - Method in interface ratpack.util.MultiValueMap
putText() - Method in interface ratpack.test.http.TestHttpClient
A convenience method for doing a PUT request then calling ReceivedResponse.getBody() then TypedData.getText().
putText(String) - Method in interface ratpack.test.http.TestHttpClient
A convenience method for doing a PUT request then calling ReceivedResponse.getBody() then TypedData.getText().
A B C D E F G H I J L M N O P R S T U V W X Y 
Skip navigation links