Package com.adaptris.core.json.resolver
Class FromPayloadUsingJSONPath
- java.lang.Object
-
- com.adaptris.interlok.resolver.ResolverImp
-
- com.adaptris.core.json.resolver.FromPayloadUsingJSONPath
-
- All Implemented Interfaces:
Resolver
public class FromPayloadUsingJSONPath extends ResolverImp
-
-
Field Summary
-
Fields inherited from class com.adaptris.interlok.resolver.ResolverImp
log
-
-
Constructor Summary
Constructors Constructor Description FromPayloadUsingJSONPath()
-
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 com.adaptris.interlok.resolver.ResolverImp
asMap, resolve
-
-
-
-
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.
-
-