Class LocationQueryService

java.lang.Object
edu.ucsb.cs156.spring.backenddemo.services.LocationQueryService

@Service public class LocationQueryService extends Object
  • Field Details

  • Constructor Details

    • LocationQueryService

      public LocationQueryService(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder)
  • Method Details

    • getJSON

      public String getJSON(String location) throws org.springframework.web.client.HttpClientErrorException
      Throws:
      org.springframework.web.client.HttpClientErrorException