Class GesturesAPIRestClient

java.lang.Object
info.ejava.examples.svc.httpapi.gestures.client.GesturesAPIRestClient
All Implemented Interfaces:
GesturesAPI

@Qualifier("restclient") public class GesturesAPIRestClient extends Object implements GesturesAPI
This class demonstrates an implementation of the Gestures client using RestClient. The primary difference between this and the RestTemplate version is the fluent API.
  • Field Details

    • baseUrl

      private final URI baseUrl
    • restClient

      private final org.springframework.web.client.RestClient restClient
  • Constructor Details

    • GesturesAPIRestClient

      public GesturesAPIRestClient(org.springframework.web.client.RestClient restClient, ServerConfig serverConfig)
  • Method Details