Class JoinFunction

  • All Implemented Interfaces:
    Function<org.opensaml.profile.context.ProfileRequestContext,​String>

    public class JoinFunction
    extends Object
    implements Function<org.opensaml.profile.context.ProfileRequestContext,​String>
    Function to join the result of two functions with a separator.
    • Field Detail

      • log

        @Nonnull
        private final Logger log
        Class logger.
      • a

        private Function<org.opensaml.profile.context.ProfileRequestContext,​String> a
        First function.
      • b

        private Function<org.opensaml.profile.context.ProfileRequestContext,​String> b
        Second function.
      • joiner

        @Nonnull
        private final Joiner joiner
        Joiner to join results.
    • Constructor Detail

      • JoinFunction

        public JoinFunction​(@Nonnull
                            Function<org.opensaml.profile.context.ProfileRequestContext,​String> functionA,
                            @Nonnull
                            Function<org.opensaml.profile.context.ProfileRequestContext,​String> functionB)
        Constructor.
        Parameters:
        functionA - the first function
        functionB - the second function
    • Method Detail

      • apply

        @Nullable
        public String apply​(@Nullable
                            org.opensaml.profile.context.ProfileRequestContext input)
        Specified by:
        apply in interface Function<org.opensaml.profile.context.ProfileRequestContext,​String>