Class FallbackReaderStrategy

    • Constructor Detail

      • FallbackReaderStrategy

        public FallbackReaderStrategy()
    • Method Detail

      • canRead

        public boolean canRead​(@Nullable
                               Class<?> type,
                               @Nullable
                               String contentType)
        Description copied from interface: ReaderStrategy
        Whether the given object type is supported by this reader.
        Specified by:
        canRead in interface ReaderStrategy<Object>
        Parameters:
        type - the type of object to check
        contentType - the content type for the read
        Returns:
        true if readable, false otherwise