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