public abstract class Interceptors extends Object
| Constructor and Description |
|---|
Interceptors() |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,R> BiFunction<T1,T2,R> |
intercept(BiFunction<T1,T2,R> innermost,
BinaryInterceptor<T1,T2>... interceptors)
Creates a binary interceptor chain.
|
static <T1,T2,R> BiFunction<T1,T2,R> |
intercept(BiFunction<T1,T2,R> innermost,
BinaryInterceptor<T1,T2> interceptor)
Creates a binary interceptor chain.
|
static <T1,T2,R> BiFunction<T1,T2,R> |
intercept(BiFunction<T1,T2,R> innermost,
BinaryInterceptor<T1,T2> first,
BinaryInterceptor<T1,T2> second)
Creates a binary interceptor chain.
|
static <T1,T2,R> BiFunction<T1,T2,R> |
intercept(BiFunction<T1,T2,R> innermost,
BinaryInterceptor<T1,T2> first,
BinaryInterceptor<T1,T2> second,
BinaryInterceptor<T1,T2> third)
Creates a binary interceptor chain.
|
static <T1,T2,I extends BinaryInterceptor<T1,T2>,R> |
intercept(BiFunction<T1,T2,R> innermost,
Iterable<I> interceptors)
Creates a binary interceptor chain.
|
static <T1,T2,I extends BinaryInterceptor<T1,T2>,R> |
intercept(BiFunction<T1,T2,R> innermost,
Iterator<I> interceptors)
Creates a binary interceptor chain.
|
static <T,R> Function<T,R> |
intercept(Function<T,R> innermost,
Interceptor<T>... interceptors)
Creates an interceptor chain.
|
static <T,R> Function<T,R> |
intercept(Function<T,R> innermost,
Interceptor<T> interceptor)
Creates an interceptor chain.
|
static <T,R> Function<T,R> |
intercept(Function<T,R> innermost,
Interceptor<T> first,
Interceptor<T> second)
Creates an interceptor chain.
|
static <T,R> Function<T,R> |
intercept(Function<T,R> innermost,
Interceptor<T> first,
Interceptor<T> second,
Interceptor<T> third)
Creates an interceptor chain.
|
static <T,R,I extends Interceptor<T>> |
intercept(Function<T,R> innermost,
Iterable<I> interceptors)
Creates an interceptor chain.
|
static <T,R,I extends Interceptor<T>> |
intercept(Function<T,R> innermost,
Iterator<I> interceptors)
Creates an interceptor chain.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
intercept(TriFunction<T1,T2,T3,R> innermost,
Iterable<I> interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
intercept(TriFunction<T1,T2,T3,R> innermost,
Iterator<I> interceptors)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3>... interceptors)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> interceptor)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second,
TernaryInterceptor<T1,T2,T3> third)
Creates a ternary interceptor chain.
|
public static <T,R> Function<T,R> intercept(Function<T,R> innermost, Interceptor<T> interceptor)
T - the function parameter typeR - the function result typeinnermost - the function to be interceptedinterceptor - the interceptorpublic static <T,R> Function<T,R> intercept(Function<T,R> innermost, Interceptor<T> first, Interceptor<T> second)
T - the function parameter typeR - the function result typeinnermost - the function to be interceptedfirst - the first interceptorsecond - the second interceptorpublic static <T,R> Function<T,R> intercept(Function<T,R> innermost, Interceptor<T> first, Interceptor<T> second, Interceptor<T> third)
R - the function result typeT - the function parameter typeinnermost - the function to be interceptedfirst - the first interceptorsecond - the second interceptorthird - the third interceptorpublic static <T,R,I extends Interceptor<T>> Function<T,R> intercept(Function<T,R> innermost, Iterable<I> interceptors)
T - the function parameter typeR - the function result typeI - the interceptor typeinnermost - the function to be interceptedinterceptors - an iterable of interceptorpublic static <T,R,I extends Interceptor<T>> Function<T,R> intercept(Function<T,R> innermost, Iterator<I> interceptors)
T - the function parameter typeR - the function result typeI - the interceptor typeinnermost - the function to be interceptedinterceptors - an iterator of interceptorpublic static <T,R> Function<T,R> intercept(Function<T,R> innermost, Interceptor<T>... interceptors)
T - the function parameter typeR - the function result typeinnermost - the function to be interceptedinterceptors - an array of interceptorpublic static <T1,T2,R> BiFunction<T1,T2,R> intercept(BiFunction<T1,T2,R> innermost, BinaryInterceptor<T1,T2> interceptor)
T1 - the function first parameter typeT2 - the function second parameter typeR - the function result typeinnermost - the function to be interceptedinterceptor - an interceptorpublic static <T1,T2,R> BiFunction<T1,T2,R> intercept(BiFunction<T1,T2,R> innermost, BinaryInterceptor<T1,T2> first, BinaryInterceptor<T1,T2> second)
T1 - the function first parameter typeT2 - the function second parameter typeR - the function result typeinnermost - the function to be interceptedfirst - the first interceptorsecond - the second interceptorpublic static <T1,T2,R> BiFunction<T1,T2,R> intercept(BiFunction<T1,T2,R> innermost, BinaryInterceptor<T1,T2> first, BinaryInterceptor<T1,T2> second, BinaryInterceptor<T1,T2> third)
R - the function result typeT1 - the function first parameter typeT2 - the function second parameter typeinnermost - the function to be interceptedfirst - the first interceptorsecond - the second interceptorthird - the third interceptorpublic static <T1,T2,I extends BinaryInterceptor<T1,T2>,R> BiFunction<T1,T2,R> intercept(BiFunction<T1,T2,R> innermost, Iterable<I> interceptors)
T1 - the function first parameter typeT2 - the function second parameter typeI - the binary interceptor typeR - the function result typeinnermost - the function to be interceptedinterceptors - an iterable of interceptorspublic static <T1,T2,I extends BinaryInterceptor<T1,T2>,R> BiFunction<T1,T2,R> intercept(BiFunction<T1,T2,R> innermost, Iterator<I> interceptors)
T1 - the function first parameter typeT2 - the function second parameter typeI - the interceptor typeR - the function result typeinnermost - the function to be interceptedinterceptors - an iterator of interceptorspublic static <T1,T2,R> BiFunction<T1,T2,R> intercept(BiFunction<T1,T2,R> innermost, BinaryInterceptor<T1,T2>... interceptors)
T1 - the function first parameter typeT2 - the function second parameter typeR - the function result typeinnermost - the function to be interceptedinterceptors - an array of interceptorspublic static <T1,T2,T3,R> TriFunction<T1,T2,T3,R> intercept(TriFunction<T1,T2,T3,R> innermost, TernaryInterceptor<T1,T2,T3> interceptor)
R - the function result typeT1 - the function first parameter typeT2 - the function second parameter typeT3 - the function third parameter typeinnermost - the function to be interceptedinterceptor - an interceptorpublic static <T1,T2,T3,R> TriFunction<T1,T2,T3,R> intercept(TriFunction<T1,T2,T3,R> innermost, TernaryInterceptor<T1,T2,T3> first, TernaryInterceptor<T1,T2,T3> second)
R - the function result typeT1 - the function first parameter typeT2 - the function second parameter typeT3 - the function third parameter typeinnermost - the function to be interceptedfirst - the first interceptorsecond - the second interceptorpublic static <T1,T2,T3,R> TriFunction<T1,T2,T3,R> intercept(TriFunction<T1,T2,T3,R> innermost, TernaryInterceptor<T1,T2,T3> first, TernaryInterceptor<T1,T2,T3> second, TernaryInterceptor<T1,T2,T3> third)
R - the function result typeT1 - the function first parameter typeT2 - the function second parameter typeT3 - the function third parameter typeinnermost - the function to be interceptedfirst - the first interceptorsecond - the second interceptorthird - the third interceptorpublic static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> TriFunction<T1,T2,T3,R> intercept(TriFunction<T1,T2,T3,R> innermost, Iterable<I> interceptors)
R - the function result typeT1 - the function first parameter typeT2 - the function second parameter typeT3 - the function third parameter typeI - the interceptor typeinnermost - the function to be interceptedinterceptors - an iterable of interceptorspublic static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> TriFunction<T1,T2,T3,R> intercept(TriFunction<T1,T2,T3,R> innermost, Iterator<I> interceptors)
R - the function result typeT1 - the function first parameter typeT2 - the function second parameter typeT3 - the function third parameter typeI - the ternary interceptor typeinnermost - the function to be interceptedinterceptors - an iterator of interceptorspublic static <T1,T2,T3,R> TriFunction<T1,T2,T3,R> intercept(TriFunction<T1,T2,T3,R> innermost, TernaryInterceptor<T1,T2,T3>... interceptors)
R - the function result typeT1 - the function first parameter typeT2 - the function second parameter typeT3 - the function third parameter typeinnermost - the function to be interceptedinterceptors - an array of interceptorsCopyright © 2017. All rights reserved.