Package org.bremersee.apiclient.webflux
Class Invocation
- java.lang.Object
- 
- org.bremersee.apiclient.webflux.Invocation
 
- 
- Direct Known Subclasses:
- InvocationParameter
 
 public class Invocation extends Object The invocation.- Author:
- Christian Bremer
 
- 
- 
Constructor SummaryConstructors Constructor Description Invocation()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,A extends Annotation>
 Optional<T>findAnnotationValueOnMethod(Class<A> annotationType, Predicate<A> condition, Function<A,T> mapper)Find annotation value on method.<T,A extends Annotation>
 Optional<T>findAnnotationValueOnParameter(int parameterIndex, Class<A> annotationType, Predicate<A> condition, Function<A,T> mapper)Find annotation value on parameter.<T,A extends Annotation>
 Optional<T>findAnnotationValueOnTargetClass(Class<A> annotationType, Predicate<A> condition, Function<A,T> mapper)Find annotation value on target class.Stream<InvocationParameter>toMethodParameterStream()To method parameter stream.StringtoString()
 
- 
- 
- 
Method Detail- 
toMethodParameterStreampublic Stream<InvocationParameter> toMethodParameterStream() To method parameter stream.- Returns:
- the stream
 
 - 
findAnnotationValueOnTargetClasspublic <T,A extends Annotation> Optional<T> findAnnotationValueOnTargetClass(Class<A> annotationType, Predicate<A> condition, Function<A,T> mapper) Find annotation value on target class.- Type Parameters:
- T- the type parameter
- A- the type parameter
- Parameters:
- annotationType- the annotation type
- condition- the condition
- mapper- the mapper
- Returns:
- the optional
 
 - 
findAnnotationValueOnMethodpublic <T,A extends Annotation> Optional<T> findAnnotationValueOnMethod(Class<A> annotationType, Predicate<A> condition, Function<A,T> mapper) Find annotation value on method.- Type Parameters:
- T- the type parameter
- A- the type parameter
- Parameters:
- annotationType- the annotation type
- condition- the condition
- mapper- the mapper
- Returns:
- the optional
 
 - 
findAnnotationValueOnParameterpublic <T,A extends Annotation> Optional<T> findAnnotationValueOnParameter(int parameterIndex, Class<A> annotationType, Predicate<A> condition, Function<A,T> mapper) Find annotation value on parameter.- Type Parameters:
- T- the type parameter
- A- the type parameter
- Parameters:
- parameterIndex- the parameter index
- annotationType- the annotation type
- condition- the condition
- mapper- the mapper
- Returns:
- the optional
 
 
- 
 
-