Net.HttpMethods, Net.HttpRequest, Net.HttpResponse, Net.HttpResponseListener, Net.Protocol| Constructor and Description |
|---|
AndroidNet(AndroidApplicationBase app) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelHttpRequest(Net.HttpRequest httpRequest) |
Socket |
newClientSocket(Net.Protocol protocol,
String host,
int port,
SocketHints hints) |
ServerSocket |
newServerSocket(Net.Protocol protocol,
int port,
ServerSocketHints hints) |
ServerSocket |
newServerSocket(Net.Protocol protocol,
String hostname,
int port,
ServerSocketHints hints) |
boolean |
openURI(String URI) |
void |
sendHttpRequest(Net.HttpRequest httpRequest,
Net.HttpResponseListener httpResponseListener) |
public AndroidNet(AndroidApplicationBase app)
public void sendHttpRequest(Net.HttpRequest httpRequest, Net.HttpResponseListener httpResponseListener)
sendHttpRequest in interface Netpublic void cancelHttpRequest(Net.HttpRequest httpRequest)
cancelHttpRequest in interface Netpublic ServerSocket newServerSocket(Net.Protocol protocol, String hostname, int port, ServerSocketHints hints)
newServerSocket in interface Netpublic ServerSocket newServerSocket(Net.Protocol protocol, int port, ServerSocketHints hints)
newServerSocket in interface Netpublic Socket newClientSocket(Net.Protocol protocol, String host, int port, SocketHints hints)
newClientSocket in interface NetCopyright © 2016. All rights reserved.