Package org.apache.axis2.dataretrieval
Class DataRetrievalRequest
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.apache.axis2.dataretrieval.DataRetrievalRequest
- All Implemented Interfaces:
Serializable,Cloneable,Map
Allow to specify options/parameters for getData request. The list is extensible
based on the information needed for the Data Locator to process the request.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the Dialect value specified in the request.Returns the Identifier value specified in the request.Returns the output format specified in the request.voidputDialect(String dialect) Allow to set the dialect of data to retrievevoidputIdentifier(String identifier) Allow to set the identifier of data to retrievevoidputOutputForm(OutputForm form) Allow to set the output format of the data retrieved.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
DIALET
Key used to define Dialect of data to be retrieved.- See Also:
-
IDENTIFIER
Key used to defined Identify of data to be retrieved.- See Also:
-
OUTPUT_FORM
Key used to define the output format of retrieved data to be returned.- See Also:
-
-
Constructor Details
-
DataRetrievalRequest
public DataRetrievalRequest()
-
-
Method Details
-
getDialect
Returns the Dialect value specified in the request.- Returns:
- a String that has dialect info.
- Throws:
DataRetrievalException
-
getIdentifier
Returns the Identifier value specified in the request.- Returns:
- a String that has Identifier info.
-
getOutputForm
Returns the output format specified in the request.- Returns:
- output format of data retrieved.
-
putDialect
Allow to set the dialect of data to retrieve- Parameters:
dialect- - Valid dialect value supported by the Data Locator.- Throws:
DataRetrievalException
-
putIdentifier
Allow to set the identifier of data to retrieve- Parameters:
identifier- - identifier value- Throws:
DataRetrievalException
-
putOutputForm
Allow to set the output format of the data retrieved.- Parameters:
form- - Valid output format types supported by the Data Locator.- Throws:
DataRetrievalException
-