Class LayerRequestCallback
- java.lang.Object
-
- uk.ac.rdg.resc.godiva.client.requests.LayerRequestCallback
-
- All Implemented Interfaces:
com.google.gwt.http.client.RequestCallback
public abstract class LayerRequestCallback extends Object implements com.google.gwt.http.client.RequestCallback
Parses the JSON response and exposes the layer details- Author:
- Guy Griffiths
-
-
Constructor Summary
Constructors Constructor Description LayerRequestCallback(String layerId, ErrorHandler err)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayerDetails
getLayerDetails()
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)
-
-
-
Constructor Detail
-
LayerRequestCallback
public LayerRequestCallback(String layerId, ErrorHandler err)
-
-
Method Detail
-
onError
public void onError(com.google.gwt.http.client.Request request, Throwable exception)
- Specified by:
onError
in interfacecom.google.gwt.http.client.RequestCallback
-
getLayerDetails
public LayerDetails getLayerDetails()
-
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
-
-