Class TimeRequestCallback

  • All Implemented Interfaces:
    com.google.gwt.http.client.RequestCallback

    public abstract class TimeRequestCallback
    extends Object
    implements com.google.gwt.http.client.RequestCallback
    Parses the JSON which gives the timesteps for a day, and exposes them
    Author:
    Guy Griffiths
    • Constructor Detail

      • TimeRequestCallback

        public TimeRequestCallback()
    • Method Detail

      • onError

        public abstract void onError​(com.google.gwt.http.client.Request request,
                                     Throwable exception)
        Specified by:
        onError in interface com.google.gwt.http.client.RequestCallback
      • onResponseReceived

        public void onResponseReceived​(com.google.gwt.http.client.Request request,
                                       com.google.gwt.http.client.Response response)
        Specified by:
        onResponseReceived in interface com.google.gwt.http.client.RequestCallback
      • getAvailableTimesteps

        public List<String> getAvailableTimesteps()