Class Helper

    • Constructor Detail

      • Helper

        public Helper()
    • Method Detail

      • unwrap

        public static Class unwrap​(Class<?> type)
        Unwrap the type used in RxJava.
        Parameters:
        type - the type to unwrap
        Returns:
        the unwrapped type
      • convertHandler

        public static <CORE,​REACTIVE> Handler<CORE> convertHandler​(Handler<REACTIVE> rxHandler,
                                                                         java.util.function.Function<CORE,​REACTIVE> mapper)
        Convert a handler for a generated reactive type to a handler for the corresponding core type.