Class JsonPathCache

  • All Implemented Interfaces:
    com.jayway.jsonpath.spi.cache.Cache

    public class JsonPathCache
    extends Object
    implements com.jayway.jsonpath.spi.cache.Cache
    The default cache for the jsonpath CacheProvider.
    • Constructor Detail

      • JsonPathCache

        public JsonPathCache()
    • Method Detail

      • get

        public com.jayway.jsonpath.JsonPath get​(String s)
        Specified by:
        get in interface com.jayway.jsonpath.spi.cache.Cache
      • put

        public void put​(String s,
                        com.jayway.jsonpath.JsonPath jsonPath)
        Specified by:
        put in interface com.jayway.jsonpath.spi.cache.Cache