Class SchemaRequestBuilder
- java.lang.Object
-
- uk.ac.bristol.hiddenmuseum.requests.SchemaRequestBuilder
-
- All Implemented Interfaces:
RequestBuilder<SchemaResponse>
public class SchemaRequestBuilder extends java.lang.Object implements RequestBuilder<SchemaResponse>
-
-
Constructor Summary
Constructors Constructor Description SchemaRequestBuilder(java.lang.String base, java.lang.String dataset)Create a schema request builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetUrl()Returns the URL that will be queried by the requestSchemaResponsesendRequest()Send the completed request to the API, returns the response
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Description copied from interface:RequestBuilderReturns the URL that will be queried by the request- Specified by:
getUrlin interfaceRequestBuilder<SchemaResponse>- Returns:
- URL
-
sendRequest
public SchemaResponse sendRequest()
Description copied from interface:RequestBuilderSend the completed request to the API, returns the response- Specified by:
sendRequestin interfaceRequestBuilder<SchemaResponse>- Returns:
- appropriate Java object for this request
-
-