Class TimeRequestCallback
- java.lang.Object
-
- uk.ac.rdg.resc.godiva.client.requests.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 Summary
Constructors Constructor Description TimeRequestCallback()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<String>
getAvailableTimesteps()
abstract void
onError(com.google.gwt.http.client.Request request, Throwable exception)
void
onResponseReceived(com.google.gwt.http.client.Request request, com.google.gwt.http.client.Response response)
-
-
-
Method Detail
-
onError
public abstract void onError(com.google.gwt.http.client.Request request, Throwable exception)
- Specified by:
onError
in interfacecom.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 interfacecom.google.gwt.http.client.RequestCallback
-
-