protected static class WindowWrapper.GetURLFunctionWrapper extends java.lang.Object implements Window.URLResponseHandler
Modifier and Type | Field and Description |
---|---|
protected org.mozilla.javascript.Function |
function
The function wrapper.
|
protected RhinoInterpreter |
interpreter
The current interpreter.
|
protected WindowWrapper |
windowWrapper
The WindowWrapper
|
Constructor and Description |
---|
GetURLFunctionWrapper(RhinoInterpreter ri,
org.mozilla.javascript.Function fct,
WindowWrapper ww)
Creates a wrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
getURLDone(boolean success,
java.lang.String mime,
java.lang.String content)
Called before 'getURL()' returns.
|
protected RhinoInterpreter interpreter
protected org.mozilla.javascript.Function function
protected WindowWrapper windowWrapper
public GetURLFunctionWrapper(RhinoInterpreter ri, org.mozilla.javascript.Function fct, WindowWrapper ww)
public void getURLDone(boolean success, java.lang.String mime, java.lang.String content)
getURLDone
in interface Window.URLResponseHandler
success
- Whether the data was successfully retreived.mime
- The data MIME type.content
- The data.Copyright © 2022 Apache Software Foundation. All Rights Reserved.