Window.URLResponseHandlerprotected static class WindowWrapper.GetURLFunctionWrapper extends java.lang.Object implements Window.URLResponseHandler
| Modifier and Type | Field | Description |
|---|---|---|
protected org.mozilla.javascript.Function |
function |
The function wrapper.
|
protected RhinoInterpreter |
interpreter |
The current interpreter.
|
protected WindowWrapper |
windowWrapper |
The WindowWrapper
|
| Constructor | Description |
|---|---|
GetURLFunctionWrapper(RhinoInterpreter ri,
org.mozilla.javascript.Function fct,
WindowWrapper ww) |
Creates a wrapper.
|
| Modifier and Type | Method | 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.URLResponseHandlersuccess - Whether the data was successfully retreived.mime - The data MIME type.content - The data.Copyright ? 2018 Apache Software Foundation. All Rights Reserved.