Interface WriterStrategy<R>

    • Method Detail

      • canWrite

        boolean canWrite​(@Nullable
                         Class<?> type,
                         @Nullable
                         String contentType)
        Whether the given object type is supported by this writer.
        Parameters:
        type - the type of object to check
        contentType - the content type for the write
        Returns:
        true if writable, false otherwise