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