I have a JavaFX client configured with Flamingo push and I've noticed from observing HTTP traffic between the client and server that a GET request is issued in between POST requests:
http://viao-laptop:8080/DataServices/poll 200 GET
http://viao-laptop:8080/DataServices/poll?maximumResponseTime=1000 200 POST
http://viao-laptop:8080/DataServices/poll?maximumResponseTime=1000 200 POST
http://viao-laptop:8080/DataServices/poll 200 GET
http://viao-laptop:8080/DataServices/poll?maximumResponseTime=1000 200 POST
http://viao-laptop:8080/DataServices/poll?maximumResponseTime=1000 200 POST
http://viao-laptop:8080/DataServices/poll 200 GET
http://viao-laptop:8080/DataServices/poll?maximumResponseTime=1000 200 POST
http://viao-laptop:8080/DataServices/poll 200 GET
http://viao-laptop:8080/DataServices/poll?maximumResponseTime=1000 200 POST
http://viao-laptop:8080/DataServices/poll?maximumResponseTime=1000 200 POST
http://viao-laptop:8080/DataServices/poll 200 GET
Looking at the servlet implementation for the push server, doGet only returns an empty response and it's the POST request handler that actually does the polling work. So my question is why is this GET request needed?
Cheers,
Chris.

Flamingo use this request for
Flamingo use this request for checking is server connection or not. If server isn't accessible flamingo messaging switch in off-line mode.
In this mode all messages are saved into local message storage.
Coluld you see on push javafx sample
examples/push/javafx/src/main/javafx/com/exadel/flamingo/push/samples/javafxOfflineDemoMain.fx
FXServiceFactory.URL = Helper.SERVER_BROCKER_URL;
def BROKER = FXClientSideBroker {
pollingServletURL: Helper.POLLING_SERVLET_URL
messagesPollPeriod: Helper.POLL_PERIOD // time interval for checking message
}
Thanks for the explanation.
Thanks for the explanation. Is there anyway to disable the GET? I'm not planning on using offline mode and I could do without unnecessary traffic to my server.
Cheers,
Chris.
I've made a Jira request to
I've made a Jira request to make the connectivity check switchable:
http://jira.exadel.org/browse/EFL-12
If this feature is important to you then please add your vote.
Cheers,
Chris.