Transport that uses HTTP requests to simulate a WebSocket
interaction. The connect method of the base Transport interface
is used to receive messages from the server while the
executeSendRequest method here is used to send messages.
| Modifier and Type | Method and Description |
|---|---|
| public void | executeSendRequest(URI
the URL for sending messages. transportUrl, HttpHeaders headers, TextMessage the message to send message)Execute a request to send the message to the server. |
| public boolean | isXhrStreamingDisabled()
An |
| executeSendRequest | back to summary |
|---|---|
| public void executeSendRequest(URI transportUrl, HttpHeaders headers, TextMessage message) Execute a request to send the message to the server. Note that as of 4.2 this method accepts a
| |
| isXhrStreamingDisabled | back to summary |
|---|---|
| public boolean isXhrStreamingDisabled() An By default an | |