public final class ReplaceRequestBuilder<T extends ScimResource> extends ResourceReturningRequestBuilder<ReplaceRequestBuilder<T>>
attributes, excludedheaders, queryParams| Constructor and Description |
|---|
ReplaceRequestBuilder(javax.ws.rs.client.WebTarget target,
T resource)
Create a new replace request builder.
|
| Modifier and Type | Method and Description |
|---|---|
ReplaceRequestBuilder<T> |
ifMatch()
Replace the resource only if the resource has not been modified from the
resource provided.
|
T |
invoke()
Invoke the SCIM replace request.
|
<C> C |
invoke(Class<C> cls)
Invoke the SCIM modify request.
|
attributes, excludedAttributesaccept, contentType, getAccept, getContentType, header, queryParam, targetpublic ReplaceRequestBuilder(javax.ws.rs.client.WebTarget target, T resource)
target - The WebTarget to PUT.resource - The SCIM resource to replace.public ReplaceRequestBuilder<T> ifMatch()
public T invoke() throws ScimException
ScimException - If an error occurred.public <C> C invoke(Class<C> cls) throws ScimException
C - The type of object to return.cls - The Java class object used to determine the type to return.javax.ws.rs.ProcessingException - If a JAX-RS runtime exception occurred.javax.ws.rs.ProcessingException - If a JAX-RS runtime exception occurred.ScimException - If the SCIM service provider responded with an error.Copyright © 2015–2021 Ping Identity Corporation. All rights reserved.