Interface ParsableSource.Builder<B extends ParsableSource.Builder<B>>

    • Method Detail

      • parser

        B parser​(ConfigParser parser)
        Configure an explicit parser to be used with the source.
        Parameters:
        parser - parser to use
        Returns:
        updated builder instance
      • mediaType

        B mediaType​(String mediaType)
        Configure an explicit media type to be used with this source. This method is ignored if a parser was configured.
        Parameters:
        mediaType - media type to use
        Returns:
        updated builder instance