Class ModifyRequestBuilder.Typed

    • Constructor Detail

      • Typed

        public Typed​(@NotNull
                     jakarta.ws.rs.client.WebTarget target)
        Create a new generic modify request builder.
        Parameters:
        target - The WebTarget to PATCH.
    • Method Detail

      • invoke

        @NotNull
        public <T> T invoke​(@NotNull
                            Class<T> cls)
                     throws ScimException
        Invoke the SCIM modify request.
        Type Parameters:
        T - 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.