Class RestUrnFragmentVisitor
java.lang.Object
com.aquima.interactions.communication.impl.RestUrnFragmentVisitor
- All Implemented Interfaces:
IRestUrnFragmentVisitor
Visitor implementation to gather all rest headers and urn fragments.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestUrnFragmentVisitor
(RestRequestMessageDefinition message, IRuleEngine ruleEngine) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHeader
(IRestHeaderDS datasource) void
addUrnFragment
(IRestUrnFragmentDS datasource) This method adds a fragment to a request message.
-
Constructor Details
-
RestUrnFragmentVisitor
-
-
Method Details
-
addHeader
- Throws:
InitializationException
-
addUrnFragment
Description copied from interface:IRestUrnFragmentVisitor
This method adds a fragment to a request message.- Specified by:
addUrnFragment
in interfaceIRestUrnFragmentVisitor
- Parameters:
datasource
- The datasource representing the fragment, may not be null.- Throws:
InitializationException
- This exception is thrown when the RestUrnFragment could not be initialized with the provided data source.
-