Package org.camunda.connect.impl
Class AbstractConnectorResponse
java.lang.Object
org.camunda.connect.impl.AbstractConnectorResponse
- All Implemented Interfaces:
ConnectorResponse
- Direct Known Subclasses:
AbstractCloseableConnectorResponse
- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
collectResponseParameters
(Map<String, Object> responseParameters) To be implemented by subclasses for collecting the generic response parameters of a response.<V> V
getResponseParameter
(String name) Returns the value of a response parameter or 'null' if no such parameter is set.Retrieves the map of output parameters from the response.
-
Field Details
-
responseParameters
-
-
Constructor Details
-
AbstractConnectorResponse
public AbstractConnectorResponse()
-
-
Method Details
-
getResponseParameters
Description copied from interface:ConnectorResponse
Retrieves the map of output parameters from the response.- Specified by:
getResponseParameters
in interfaceConnectorResponse
- Returns:
- the map of output parameters.
-
getResponseParameter
Description copied from interface:ConnectorResponse
Returns the value of a response parameter or 'null' if no such parameter is set.- Specified by:
getResponseParameter
in interfaceConnectorResponse
- Parameters:
name
- the name of the response parameter- Returns:
- the value of the response parameter of null.
-
collectResponseParameters
To be implemented by subclasses for collecting the generic response parameters of a response.- Parameters:
responseParameters
- a map to save the response parameters in
-