Class CreateRequestBuilder<T extends ScimResource>

    • Constructor Detail

      • CreateRequestBuilder

        public CreateRequestBuilder​(@NotNull
                                    jakarta.ws.rs.client.WebTarget target,
                                    @NotNull
                                    T resource)
        Create a new SCIM create request builder that will POST the given resource to the given web target.
        Parameters:
        target - The WebTarget to POST to.
        resource - The SCIM resource to POST.
    • Method Detail

      • invoke

        @NotNull
        public <C> C invoke​(@NotNull
                            Class<C> cls)
                     throws ScimException
        Invoke the SCIM create 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.