Class AbstractScimClient<T>

    • Method Detail

      • invoke

        public Object invoke​(Object proxy,
                             Method method,
                             Object[] args)
                      throws Throwable
        This method is the single point of dispatch for any and all the requests made to the service. It takes care of requesting access tokens when necessary and make them available when requests are bound to be issued.

        As with all methods of this class and its subclasses, invoke is not called directly by developers: the calls are triggered when the objects returned by factory methods of ScimClientFactory are manipulated.

        Specified by:
        invoke in interface InvocationHandler
        Returns:
        The response associated to the invocation (normally a javax.ws.rs.core.Response instance)
        Throws:
        Throwable