public abstract class CommonClient extends Object
| Constructor and Description |
|---|
CommonClient() |
| Modifier and Type | Method and Description |
|---|---|
protected com.squareup.okhttp.Request.Builder |
addApiAuth(com.squareup.okhttp.Request.Builder reqb,
String apiKey,
String apiSecret,
String extraText) |
protected com.squareup.okhttp.Request.Builder |
addUserAuth(com.squareup.okhttp.Request.Builder reqb,
String user,
String pwd) |
protected String |
makePath(String... args)
Make a URL path from string segments.
|
protected String |
makeUrl(String urlPart,
String... args)
Make a URL path from string segments.
|
static String |
urlEncode(String s) |
protected String makeUrl(String urlPart, String... args)
urlPart - args - protected String makePath(String... args)
args - protected com.squareup.okhttp.Request.Builder addUserAuth(com.squareup.okhttp.Request.Builder reqb,
String user,
String pwd)
protected com.squareup.okhttp.Request.Builder addApiAuth(com.squareup.okhttp.Request.Builder reqb,
String apiKey,
String apiSecret,
String extraText)
Copyright © 2020 continual.io. All rights reserved.