public class HTTPCall extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected boolean |
gCubeTargetService
When the target service is a gCube Service it adds the HTTP header
to provide gCube authorization token and/or scope
|
protected static String |
USER_AGENT_KEY |
protected static String |
USER_AGENT_NAME |
| Modifier | Constructor and Description |
|---|---|
|
HTTPCall(String address) |
protected |
HTTPCall(String address,
String userAgent) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getFinalURL(URL url) |
protected URL |
getURL(String urlString) |
boolean |
isgCubeTargetService() |
void |
setgCubeTargetService(boolean gCubeTargetService) |
protected static final String USER_AGENT_KEY
protected static final String USER_AGENT_NAME
protected final String address
protected boolean gCubeTargetService
public HTTPCall(String address)
public boolean isgCubeTargetService()
public void setgCubeTargetService(boolean gCubeTargetService)
protected URL getURL(String urlString) throws MalformedURLException
MalformedURLExceptionCopyright © 2020. All Rights Reserved.