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.String
getUrl()
Returns the URL that will be queried by the requestSchemaResponse
sendRequest()
Send the completed request to the API, returns the response
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Description copied from interface:RequestBuilder
Returns the URL that will be queried by the request- Specified by:
getUrl
in interfaceRequestBuilder<SchemaResponse>
- Returns:
- URL
-
sendRequest
public SchemaResponse sendRequest()
Description copied from interface:RequestBuilder
Send the completed request to the API, returns the response- Specified by:
sendRequest
in interfaceRequestBuilder<SchemaResponse>
- Returns:
- appropriate Java object for this request
-
-