|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRestService
A rest service that executes request against the OpenShift server
Field Summary | |
---|---|
static String |
SERVICE_PATH
|
static String |
SERVICE_VERSION
|
Method Summary | |
---|---|
String |
getPlatformUrl()
Returns the OpenShift server. |
String |
getServiceUrl()
Returns the url for the OpenShift service, the endpoint which this rest service class is talking to. |
RestResponse |
request(Link link,
int timeout,
IMediaType mediaType,
Parameter... parameters)
Requests the given link sending the given parameters while encoding the parameters with the given media type and respecting the given timeout. |
RestResponse |
request(Link link,
int timeout,
List<Parameter> urlParameters,
IMediaType mediaType,
Parameter... parameters)
|
RestResponse |
request(Link link,
int timeout,
List<Parameter> urlParameters,
Parameter... parameters)
|
RestResponse |
request(Link link,
int timeout,
Parameter... parameters)
|
RestResponse |
request(Link link,
List<Parameter> urlParameters,
Parameter... parameters)
|
RestResponse |
request(Link link,
Parameter... parameters)
|
Field Detail |
---|
static final String SERVICE_VERSION
static final String SERVICE_PATH
Method Detail |
---|
RestResponse request(Link link, Parameter... parameters) throws OpenShiftException
OpenShiftException
RestResponse request(Link link, int timeout, Parameter... parameters) throws OpenShiftException
OpenShiftException
RestResponse request(Link link, int timeout, IMediaType mediaType, Parameter... parameters) throws OpenShiftException
link
- the link to useparameters
- the parameters to send
OpenShiftException
Link
,
Parameter
,
IMediaType
,
IHttpClient.NO_TIMEOUT
,
IHttpClient.SYSPROP_DEFAULT_CONNECT_TIMEOUT
,
IHttpClient.SYSPROP_DEFAULT_READ_TIMEOUT
,
IHttpClient.SYSPROP_OPENSHIFT_CONNECT_TIMEOUT
,
IHttpClient.DEFAULT_CONNECT_TIMEOUT
,
IHttpClient.DEFAULT_READ_TIMEOUT
RestResponse request(Link link, List<Parameter> urlParameters, Parameter... parameters) throws OpenShiftException
OpenShiftException
RestResponse request(Link link, int timeout, List<Parameter> urlParameters, Parameter... parameters) throws OpenShiftException
OpenShiftException
RestResponse request(Link link, int timeout, List<Parameter> urlParameters, IMediaType mediaType, Parameter... parameters) throws OpenShiftException
OpenShiftException
String getServiceUrl()
String getPlatformUrl()
|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |