Class JsonpSupport.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • jsonProcessingConfig

        public JsonpSupport.Builder jsonProcessingConfig​(Map<String,​?> config)
        Configuration to use when creating reader and writer factories.
        Parameters:
        config - configuration of JSON-P library
        Returns:
        updated builder instance
      • jsonWriterFactory

        public JsonpSupport.Builder jsonWriterFactory​(JsonWriterFactory factory)
        Explicit JSON-P Writer factory instance.
        Parameters:
        factory - writer factory
        Returns:
        updated builder instance
      • jsonReaderFactory

        public JsonpSupport.Builder jsonReaderFactory​(JsonReaderFactory factory)
        Explicit JSON-P Reader factory instance.
        Parameters:
        factory - reader factory
        Returns:
        updated builder instance