Interface Window.URLResponseHandler

  • All Known Implementing Classes:
    WindowWrapper.GetURLFunctionWrapper
    Enclosing interface:
    Window

    public static interface Window.URLResponseHandler
    To handle the completion of a 'getURL()' or 'postURL' call.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void getURLDone​(boolean success, java.lang.String mime, java.lang.String content)
      Called when the response is recieved.
    • Method Detail

      • getURLDone

        void getURLDone​(boolean success,
                        java.lang.String mime,
                        java.lang.String content)
        Called when the response is recieved.
        Parameters:
        success - Whether the data was successfully retreived.
        mime - The data MIME type.
        content - The data.