Class RemoveLink
- java.lang.Object
-
- com.sodius.oslc.core.process.internal.requests.AbstractLinkRequest
-
- com.sodius.oslc.core.process.links.requests.RemoveLink
-
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>
,Callable<ResourceResponse<Void>>
public class RemoveLink extends com.sodius.oslc.core.process.internal.requests.AbstractLinkRequest
Remove a link on an OSLC resource.This request returns a generic
ResourceResponse
, as callers may not know the exact type of response to expect.- Since:
- 1.7.0
-
-
Constructor Summary
Constructors Constructor Description RemoveLink(OslcClient client, DirectedLink link)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceResponse<Void>
call()
Executes the request and parse the response content in the specified format.
-
-
-
Constructor Detail
-
RemoveLink
public RemoveLink(OslcClient client, DirectedLink link)
-
-
Method Detail
-
call
public ResourceResponse<Void> call()
Description copied from interface:ResourceRequest
Executes the request and parse the response content in the specified format. Throws aClientWebException
in case the HTTP response status is not20x
.
-
-