Class FromPayloadUsingJSONPath

  • All Implemented Interfaces:
    Resolver

    public class FromPayloadUsingJSONPath
    extends ResolverImp
    • Field Summary

      • Fields inherited from class com.adaptris.interlok.resolver.ResolverImp

        log
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canHandle​(java.lang.String value)
      Can this resolver handle this type of value.
      java.lang.String resolve​(java.lang.String value)  
      java.lang.String resolve​(java.lang.String value, InterlokMessage target)
      Attempt to resolve a value externally.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FromPayloadUsingJSONPath

        public FromPayloadUsingJSONPath()
    • Method Detail

      • resolve

        public java.lang.String resolve​(java.lang.String value)
      • resolve

        public java.lang.String resolve​(java.lang.String value,
                                        InterlokMessage target)
        Attempt to resolve a value externally.
        Parameters:
        value - The string to resolve.
        target - The document to search.
        Returns:
        The resolved value.
      • canHandle

        public boolean canHandle​(java.lang.String value)
        Can this resolver handle this type of value.
        Parameters:
        value - the value e.g. %payload{xpath:…}
        Returns:
        True if the value will provide matches, false otherwise.