com.badlogic.gdx.Net API, based on LWJGL implementation
| Modifier and Type | Field and Description |
|---|---|
| pack-priv NetJavaImpl |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | isHttpRequestPending(Net.
Implements com.
|
| public Socket | newClientSocket(Net.
Implements com. Creates a new TCP client socket that connects to the given host and port. |
| public ServerSocket | newServerSocket(Net.
Implements com. Creates a new server socket on the given address and port, using the given |
| public ServerSocket | newServerSocket(Net.
Implements com. Creates a new server socket on the given port, using the given |
| public boolean | openURI(String URI)
Implements com. Launches the default browser to display a URI. |
| public void | sendHttpRequest(Net.
Implements com. Process the specified |
| netJavaImpl | back to summary |
|---|---|
| pack-priv NetJavaImpl netJavaImpl | |
| HeadlessNet | back to summary |
|---|---|
| public HeadlessNet(HeadlessApplicationConfiguration configuration) | |
| cancelHttpRequest | back to summary |
|---|---|
| public void cancelHttpRequest(Net. Implements com.
| |
| isHttpRequestPending | back to summary |
|---|---|
| public boolean isHttpRequestPending(Net. Implements com.
| |
| newClientSocket | back to summary |
|---|---|
| public Socket newClientSocket(Net. Implements com. Doc from com. Creates a new TCP client socket that connects to the given host and port.
| |
| newServerSocket | back to summary |
|---|---|
| public ServerSocket newServerSocket(Net. Implements com. Doc from com. Creates a new server socket on the given address and port, using the given
| |
| newServerSocket | back to summary |
|---|---|
| public ServerSocket newServerSocket(Net. Implements com. Doc from com. Creates a new server socket on the given port, using the given
| |
| openURI | back to summary |
|---|---|
| public boolean openURI(String URI) Implements com. Doc from com. Launches the default browser to display a URI. If the default browser is not able to handle the specified URI, the application registered for handling URIs of the specified type is invoked. The application is determined from the protocol and path of the URI. A best effort is made to open the given URI; however, since external applications are involved, no guarantee can be made as to whether the URI was actually opened. If it is known that the URI was not opened, false will be returned; otherwise, true will be returned.
| |
| sendHttpRequest | back to summary |
|---|---|
| public void sendHttpRequest(Net. Implements com. Doc from com. Process the specified
| |