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 IRestService
OpenShiftException
public RestResponse request(Link link, ServiceParameter... serviceParameters) throws OpenShiftException
request
in interface IRestService
OpenShiftException
public RestResponse request(Link link, Map<String,Object> parameters) throws OpenShiftException
request
in interface IRestService
OpenShiftException
public String request(String href, HttpMethod httpMethod, Map<String,Object> parameters) throws OpenShiftException
request
in interface IRestService
OpenShiftException
public String getServiceUrl()
getServiceUrl
in interface IRestService
public String getPlatformUrl()
getPlatformUrl
in interface IRestService
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.