public interface IRestService
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(Link link,
String acceptedMediaType,
ServiceParameter... serviceParameters) |
String |
request(String url,
HttpMethod httpMethod,
Map<String,Object> parameters) |
void |
setProxyHost(String proxyHost) |
void |
setProxyPort(String proxyPort) |
void |
setProxySet(boolean proxySet) |
RestResponse request(Link link) throws OpenShiftException, SocketTimeoutException
RestResponse request(Link link, ServiceParameter... serviceParameters) throws OpenShiftException
OpenShiftException
String request(Link link, String acceptedMediaType, ServiceParameter... serviceParameters) throws MalformedURLException, HttpClientException, SocketTimeoutException, OpenShiftException, UnsupportedEncodingException
RestResponse request(Link link, Map<String,Object> parameters) throws OpenShiftException
OpenShiftException
String request(String url, HttpMethod httpMethod, Map<String,Object> parameters) throws OpenShiftException
OpenShiftException
void setProxySet(boolean proxySet)
void setProxyHost(String proxyHost)
void setProxyPort(String proxyPort)
String getServiceUrl()
String getPlatformUrl()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.