Package | Description |
---|---|
ratpack.config |
Provides the ability to access configuration data from a variety of sources, such as YAML, JSON,
properties files, system properties, and environment variables.
|
ratpack.exec |
The execution management.
|
ratpack.func |
General functional (i.e. Single Abstract Method) types.
|
Modifier and Type | Method and Description |
---|---|
Stream<Pair<String,String>> |
EnvironmentParser.filter(Pair<String,String> entry)
Provides an opportunity to remove environment variables from parsing by the remainder of the pipeline.
|
Modifier and Type | Method and Description |
---|---|
Stream<Pair<String,String>> |
EnvironmentParser.filter(Pair<String,String> entry)
Provides an opportunity to remove environment variables from parsing by the remainder of the pipeline.
|
Modifier and Type | Method and Description |
---|---|
default <O> Promise<Pair<O,T>> |
Promise.left(Promise<O> left) |
default <O> Promise<Pair<T,O>> |
Promise.right(Promise<O> right) |
Modifier and Type | Method and Description |
---|---|
static <L,P extends Pair<L,?>> |
Pair.unpackLeft()
Convenience function for returning the left item of a pair.
|
static <R,P extends Pair<?,R>> |
Pair.unpackRight()
Convenience function for returning the right item of a pair.
|
Modifier and Type | Method and Description |
---|---|
<T> Pair<T,R> |
Pair.left(T newLeft)
Replaces the left item with the given item.
|
<T> Pair<T,R> |
Pair.mapLeft(Function<? super L,? extends T> function)
Creates a new pair, with the left item being the result of applying the given function to the left item of
this . |
<T> Pair<L,T> |
Pair.mapRight(Function<? super R,? extends T> function)
Creates a new pair, with the right item being the result of applying the given function to the right item of
this . |
<T> Pair<Pair<T,L>,R> |
Pair.nestLeft(T t)
Creates a new pair, with
pair(t, this.left) as the left item and the the right value of this as the right. |
<T> Pair<L,Pair<T,R>> |
Pair.nestRight(T t)
Creates a new pair, with
pair(t, this.right) as the right item and the the left value of this as the left. |
static <L,R> Pair<L,R> |
Pair.of(L left,
R right)
Creates a new pair.
|
static <L,R> Pair<L,R> |
Pair.pair(L left,
R right)
Creates a new pair.
|
<T> Pair<T,Pair<L,R>> |
Pair.pushLeft(T t)
Creates a new pair, with
this as the right item and the given value as the left. |
<T> Pair<Pair<L,R>,T> |
Pair.pushRight(T t)
Creates a new pair, with
this as the left item and the given value as the right. |
<T> Pair<L,T> |
Pair.right(T newRight)
Replaces the right item with the given item.
|
Modifier and Type | Method and Description |
---|---|
<T> Pair<Pair<T,L>,R> |
Pair.nestLeft(T t)
Creates a new pair, with
pair(t, this.left) as the left item and the the right value of this as the right. |
<T> Pair<L,Pair<T,R>> |
Pair.nestRight(T t)
Creates a new pair, with
pair(t, this.right) as the right item and the the left value of this as the left. |
<T> Pair<T,Pair<L,R>> |
Pair.pushLeft(T t)
Creates a new pair, with
this as the right item and the given value as the left. |
<T> Pair<Pair<L,R>,T> |
Pair.pushRight(T t)
Creates a new pair, with
this as the left item and the given value as the right. |
Modifier and Type | Method and Description |
---|---|
<T> T |
Pair.map(Function<? super Pair<L,R>,? extends T> function)
Applies the given function to
this , returning the result. |