public final class CreateRequestBuilder<T extends ScimResource> extends ResourceReturningRequestBuilder<CreateRequestBuilder<T>>
attributes, excludedheaders, queryParams| Constructor and Description |
|---|
CreateRequestBuilder(javax.ws.rs.client.WebTarget target,
T resource)
Create a new SCIM create request builder that will POST the given resource
to the given web target.
|
| Modifier and Type | Method and Description |
|---|---|
T |
invoke()
Invoke the SCIM create request.
|
<C> C |
invoke(Class<C> cls)
Invoke the SCIM create request.
|
attributes, excludedAttributesaccept, contentType, getAccept, getContentType, header, queryParam, targetpublic CreateRequestBuilder(javax.ws.rs.client.WebTarget target, T resource)
target - The WebTarget to POST to.resource - The SCIM resource to POST.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.ScimException - If the SCIM service provider responded with an error.Copyright © 2015–2021 Ping Identity Corporation. All rights reserved.