public class RestService extends Object implements IRestService
SERVICE_VERSION| Constructor and Description |
|---|
RestService(String baseUrl,
String clientId,
IHttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPlatformUrl() |
String |
getServiceUrl() |
RestResponse |
request(Link link) |
RestResponse |
request(Link link,
Map<String,Object> parameters) |
RestResponse |
request(Link link,
ServiceParameter... serviceParameters) |
String |
request(String href,
HttpMethod httpMethod,
Map<String,Object> parameters) |
public RestService(String baseUrl, String clientId, IHttpClient client)
public RestResponse request(Link link) throws OpenShiftException
request in interface IRestServiceOpenShiftExceptionpublic RestResponse request(Link link, ServiceParameter... serviceParameters) throws OpenShiftException
request in interface IRestServiceOpenShiftExceptionpublic RestResponse request(Link link, Map<String,Object> parameters) throws OpenShiftException
request in interface IRestServiceOpenShiftExceptionpublic String request(String href, HttpMethod httpMethod, Map<String,Object> parameters) throws OpenShiftException
request in interface IRestServiceOpenShiftExceptionpublic String getServiceUrl()
getServiceUrl in interface IRestServicepublic String getPlatformUrl()
getPlatformUrl in interface IRestServiceCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.