public final class JSONCall extends Object
Transfer.loadJSON(org.netbeans.html.json.spi.JSONCall)
implementors.Modifier and Type | Method and Description |
---|---|
String |
composeURL(String jsonpCallback) |
String |
getHeaders()
Additional headers to be included in the request.
|
String |
getMessage() |
String |
getMethod() |
boolean |
isDoOutput()
Do we have some data to send?
|
boolean |
isJSONP() |
void |
notifyError(Throwable error) |
void |
notifySuccess(Object result) |
void |
writeData(OutputStream os) |
public boolean isDoOutput()
JSONCall.writeData(java.io.OutputStream)
method be
called?public void writeData(OutputStream os) throws IOException
IOException
public String getHeaders()
null
or string with prepared (HTTP) request headerspublic String getMethod()
public boolean isJSONP()
public void notifySuccess(Object result)
public void notifyError(Throwable error)
public String getMessage()
Copyright © 2018 NetBeans. All rights reserved.