public interface IOpenShiftRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super OpenShift> callback)
Delete this item from the service
|
IOpenShiftRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OpenShift |
get()
Gets the OpenShift from the service
|
void |
get(ICallback<? super OpenShift> callback)
Gets the OpenShift from the service
|
OpenShift |
patch(OpenShift sourceOpenShift)
Patches this OpenShift with a source
|
void |
patch(OpenShift sourceOpenShift,
ICallback<? super OpenShift> callback)
Patches this OpenShift with a source
|
OpenShift |
post(OpenShift newOpenShift)
Posts a OpenShift with a new object
|
void |
post(OpenShift newOpenShift,
ICallback<? super OpenShift> callback)
Posts a OpenShift with a new object
|
OpenShift |
put(OpenShift newOpenShift)
Posts a OpenShift with a new object
|
void |
put(OpenShift newOpenShift,
ICallback<? super OpenShift> callback)
Posts a OpenShift with a new object
|
IOpenShiftRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super OpenShift> callback)
callback - the callback to be called after success or failureOpenShift get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super OpenShift> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(OpenShift sourceOpenShift, ICallback<? super OpenShift> callback)
sourceOpenShift - the source object with updatescallback - the callback to be called after success or failureOpenShift patch(OpenShift sourceOpenShift) throws ClientException
sourceOpenShift - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(OpenShift newOpenShift, ICallback<? super OpenShift> callback)
newOpenShift - the new object to createcallback - the callback to be called after success or failureOpenShift post(OpenShift newOpenShift) throws ClientException
newOpenShift - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(OpenShift newOpenShift, ICallback<? super OpenShift> callback)
newOpenShift - the object to create/updatecallback - the callback to be called after success or failureOpenShift put(OpenShift newOpenShift) throws ClientException
newOpenShift - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIOpenShiftRequest select(java.lang.String value)
value - the select clauseIOpenShiftRequest expand(java.lang.String value)
value - the expand clause