Annotation Type FeedSpecAnnotations.WithStringMapper

Enclosing interface:
FeedSpecAnnotations

@ExperimentalApi @Target(METHOD) @Retention(RUNTIME) public static @interface FeedSpecAnnotations.WithStringMapper
Annotation to specify a custom Function to be used for converting string values to a specified type.

If a spec method is annotated with both, FeedSpecAnnotations.WithStringMapper and FeedSpecAnnotations.WithPostProcessor, the mapping is done before applying the post-processors.

This annotation is ignored when used with:

Since:
5.0.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Function<String,?>>
    Specifies the function class to be used for string conversions.
  • Element Details