Class DeleteRequestBuilder
- java.lang.Object
-
- com.unboundid.scim2.client.requests.RequestBuilder<DeleteRequestBuilder>
-
- com.unboundid.scim2.client.requests.DeleteRequestBuilder
-
public class DeleteRequestBuilder extends RequestBuilder<DeleteRequestBuilder>
A builder for SCIM delete requests.
-
-
Field Summary
-
Fields inherited from class com.unboundid.scim2.client.requests.RequestBuilder
headers, queryParams
-
-
Constructor Summary
Constructors Constructor Description DeleteRequestBuilder(jakarta.ws.rs.client.WebTarget target)
Create a new DeleteRequestBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteRequestBuilder
ifMatch(String version)
Delete the resource only if the resource has not been modified since the provided version.void
invoke()
Invoke the SCIM delete request.-
Methods inherited from class com.unboundid.scim2.client.requests.RequestBuilder
accept, contentType, getAccept, getContentType, header, queryParam, target
-
-
-
-
Constructor Detail
-
DeleteRequestBuilder
public DeleteRequestBuilder(jakarta.ws.rs.client.WebTarget target)
Create a new DeleteRequestBuilder.- Parameters:
target
- The WebTarget to DELETE.
-
-
Method Detail
-
ifMatch
public DeleteRequestBuilder ifMatch(String version)
Delete the resource only if the resource has not been modified since the provided version.- Parameters:
version
- The version of the resource to compare.- Returns:
- This builder.
-
invoke
public void invoke() throws ScimException
Invoke the SCIM delete request.- Throws:
jakarta.ws.rs.ProcessingException
- If a JAX-RS runtime exception occurred.ScimException
- If the SCIM service provider responded with an error.
-
-