Class ModifyRequestBuilder.Generic<T extends ScimResource>

    • Constructor Detail

      • Generic

        public Generic​(jakarta.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 ScimException
        Invoke the SCIM modify request.
        Returns:
        The successfully modified SCIM resource.
        Throws:
        jakarta.ws.rs.ProcessingException - If a JAX-RS runtime exception occurred.
        ScimException - If the SCIM service provider responded with an error.
      • invoke

        public <C> C invoke​(Class<C> cls)
                     throws 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:
        jakarta.ws.rs.ProcessingException - If a JAX-RS runtime exception occurred.
        ScimException - If the SCIM service provider responded with an error.