public class ApiUrl extends Object
| Constructor and Description |
|---|
ApiUrl(String apiKey,
MethodBase method)
Constructor for the simple API URL method without a sub-method
|
| Modifier and Type | Method and Description |
|---|---|
URL |
buildUrl()
Build the URL with the default parameters
|
URL |
buildUrl(TmdbParameters params)
Build the URL from the pre-created parameters.
|
ApiUrl |
subMethod(MethodSub submethod)
Add a sub-methods
|
public ApiUrl(String apiKey, MethodBase method)
apiKey - API Keymethod - Base method to create URL forpublic ApiUrl subMethod(MethodSub submethod)
submethod - Sub-method of base methodpublic URL buildUrl()
public URL buildUrl(TmdbParameters params)
params - The parameters for the methodCopyright © 2012–2017. All rights reserved.