Interface RequestBuilder<T>
-
- Type Parameters:
T
- type of the response
- All Known Implementing Classes:
LookupRequestBuilder
,SchemaRequestBuilder
,SearchRequestBuilder
public interface RequestBuilder<T>
Request building interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getUrl()
Returns the URL that will be queried by the requestT
sendRequest()
Send the completed request to the API, returns the response
-
-
-
Method Detail
-
getUrl
java.lang.String getUrl()
Returns the URL that will be queried by the request- Returns:
- URL
-
sendRequest
T sendRequest()
Send the completed request to the API, returns the response- Returns:
- appropriate Java object for this request
-
-