Class RestRequestMessageDefinition
java.lang.Object
com.aquima.interactions.communication.impl.RestMessageDefinition
com.aquima.interactions.communication.impl.RestRequestMessageDefinition
- All Implemented Interfaces:
IRestMessageDefinition
,IRestRequestMessageDefinition
public final class RestRequestMessageDefinition
extends RestMessageDefinition
implements IRestRequestMessageDefinition
This class holds the static definition of a rest request message.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestRequestMessageDefinition
(RestServiceDefinition restService, IRestRequestMessageDS datasource, ICommunicationEngine communicationEngine, IMetaModel metaModel, IRuleEngine ruleEngine) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addUrlArgument
(RestUrnArgumentDefinition argument) protected void
adUrlFragment
(RestUrnFragmentDefinition fragment) This method returns the http method of the message.This method returns the urn arguments of the request url.This method returns the urn fragments of the request url.Methods inherited from class com.aquima.interactions.communication.impl.RestMessageDefinition
addHeader, getBodyAttributeName, getBodyElement, getBodySchema, getEntity, getEntityName, getHeaders, getValidations
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.communication.IRestMessageDefinition
getBodyAttributeName, getBodyElement, getBodySchema, getEntityName, getHeaders, getValidations
-
Constructor Details
-
RestRequestMessageDefinition
protected RestRequestMessageDefinition(RestServiceDefinition restService, IRestRequestMessageDS datasource, ICommunicationEngine communicationEngine, IMetaModel metaModel, IRuleEngine ruleEngine)
-
-
Method Details
-
getHttpMethod
Description copied from interface:IRestRequestMessageDefinition
This method returns the http method of the message.- Specified by:
getHttpMethod
in interfaceIRestRequestMessageDefinition
- Returns:
- The http method of the message, may not be null.
-
getUrnFragments
Description copied from interface:IRestRequestMessageDefinition
This method returns the urn fragments of the request url.- Specified by:
getUrnFragments
in interfaceIRestRequestMessageDefinition
- Returns:
- The urn fragments, may not be null.
-
getUrnArguments
Description copied from interface:IRestRequestMessageDefinition
This method returns the urn arguments of the request url.- Specified by:
getUrnArguments
in interfaceIRestRequestMessageDefinition
- Returns:
- The urn arguments, may not be null.
-
adUrlFragment
-
addUrlArgument
-