Class ClientCreationContext

    • Method Detail

      • getRestTemplate

        public org.springframework.web.client.RestTemplate getRestTemplate()
        Deprecated, for removal: This API element is subject to removal in a future version.
        The RestTemplate created by the Client.

        RestTemplateConfigurator.configure(ClientCreationContext) can create a new instance and return it, but it usually changes the passed-in instance.

        Returns:
        the REST template
      • getClientParameters

        public ClientParameters getClientParameters()
        Deprecated, for removal: This API element is subject to removal in a future version.
        ClientParameters used for this Client instance.

        Useful for information like username and password.

        Returns:
        the client parameters used for the Client instance creation
      • getRootUri

        public URI getRootUri()
        Deprecated, for removal: This API element is subject to removal in a future version.
        The root URI of the management API.
        Returns:
        the root URI
      • restTemplate

        public ClientCreationContext restTemplate​(org.springframework.web.client.RestTemplate restTemplate)
        Deprecated, for removal: This API element is subject to removal in a future version.