Class ModifyRequestBuilder.Generic<T extends com.unboundid.scim2.common.ScimResource>

    • Constructor Detail

      • Generic

        public Generic​(javax.ws.rs.client.WebTarget target,
                       T resource)
        Create a new generic modify request builder.
        Parameters:
        target - The WebTarget to PATCH.
        resource - The SCIM resource to retrieve.
    • Method Detail

      • invoke

        public T invoke()
                 throws com.unboundid.scim2.common.exceptions.ScimException
        Invoke the SCIM modify request.
        Returns:
        The successfully modified SCIM resource.
        Throws:
        javax.ws.rs.ProcessingException - If a JAX-RS runtime exception occurred.
        com.unboundid.scim2.common.exceptions.ScimException - If the SCIM service provider responded with an error.
      • invoke

        public <C> C invoke​(Class<C> cls)
                     throws com.unboundid.scim2.common.exceptions.ScimException
        Invoke the SCIM modify request.
        Type Parameters:
        C - The type of object to return.
        Parameters:
        cls - The Java class object used to determine the type to return.
        Returns:
        The successfully modified SCIM resource.
        Throws:
        javax.ws.rs.ProcessingException - If a JAX-RS runtime exception occurred.
        com.unboundid.scim2.common.exceptions.ScimException - If the SCIM service provider responded with an error.