Class WindowWrapper.GetURLFunctionWrapper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getURLDone​(boolean success, java.lang.String mime, java.lang.String content)
      Called before 'getURL()' returns.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • function

        protected org.mozilla.javascript.Function function
        The function wrapper.
      • windowWrapper

        protected WindowWrapper windowWrapper
        The WindowWrapper
    • Constructor Detail

      • GetURLFunctionWrapper

        public GetURLFunctionWrapper​(RhinoInterpreter ri,
                                     org.mozilla.javascript.Function fct,
                                     WindowWrapper ww)
        Creates a wrapper.
    • Method Detail

      • getURLDone

        public void getURLDone​(boolean success,
                               java.lang.String mime,
                               java.lang.String content)
        Called before 'getURL()' returns.
        Specified by:
        getURLDone in interface Window.URLResponseHandler
        Parameters:
        success - Whether the data was successfully retreived.
        mime - The data MIME type.
        content - The data.