Class UCSBSubjectsService

java.lang.Object
edu.ucsb.cs156.courses.services.UCSBSubjectsService

@Service("UCSBSubjects") public class UCSBSubjectsService extends Object
  • Field Details

  • Constructor Details

    • UCSBSubjectsService

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

    • get

      public List<UCSBSubject> get() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • loadAllSubjects

      public List<UCSBSubject> loadAllSubjects() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException