Interface RESTRequest
- All Superinterfaces:
DataRetrievalRequest
- All Known Implementing Classes:
RESTRequestImpl
Represents a request to a particular endpoint of a REST API.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExpectedVariablesReturns the query variables for which this data retrieval request aims to fetch data (if any), where some of these variables may be 'certain variables' whereas others are 'possible variables'.getURI()Returns the URI to be requested.Methods inherited from interface se.liu.ida.hefquin.federation.access.DataRetrievalRequest
toString
-
Method Details
-
getURI
URI getURI()Returns the URI to be requested. -
getExpectedVariables
Description copied from interface:DataRetrievalRequestReturns the query variables for which this data retrieval request aims to fetch data (if any), where some of these variables may be 'certain variables' whereas others are 'possible variables'. For the distinction between these two types of variables, refer toExpectedVariables.getCertainVariables()and to}. For instance, if this request is about fetching triples that match a given triple pattern, then the variables of that triple pattern would be returned here as certain variables. Note that the method may also return null (which would be the case for types of data retrieval requests for which this method is not applicable in any reasonable way).invalid @link
{@link ExpectedVariables#getPossibleVariables())- Specified by:
getExpectedVariablesin interfaceDataRetrievalRequest
-