public class JSRequest extends AbstractJSWrapper
| Modifier and Type | Field and Description |
|---|---|
Object |
responseHandler |
engine| Constructor and Description |
|---|
JSRequest(Object options,
Object responseHandler,
boolean ssl,
ScriptEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
void |
end(Object obj) |
Map<String,String> |
getHeaders() |
String |
getHost() |
String |
getMethod() |
String |
getPath() |
String |
getPort() |
JSRequest |
on(Object options,
Object callback) |
void |
putHeader(String name,
String value) |
void |
setHost(String host) |
void |
setMethod(String method) |
void |
setPath(String path) |
void |
setPort(String port) |
boolean |
write(Object obj) |
boolean |
write(Object obj,
Object obj1) |
boolean |
write(Object obj,
Object obj1,
Object obj2) |
eval, eval, getBindingspublic Object responseHandler
public JSRequest(Object options, Object responseHandler, boolean ssl, ScriptEngine engine)
public void end(Object obj)
public void end()
public boolean write(Object obj)
public String getHost()
public void setHost(String host)
public String getPort()
public void setPort(String port)
public String getMethod()
public void setMethod(String method)
public String getPath()
public void setPath(String path)
Copyright © 2016 RAML. All rights reserved.