We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.communication.
Interface FragmentedMessageHolder
All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearFragmentedMessage
(org.atmosphere.cpr.AtmosphereResource resource) Clears the partial message that is currently being received.
getOrCreateFragmentedMessage
(org.atmosphere.cpr.AtmosphereResource resource) Gets the partial message that is currently being received, if any.
-
Method Details
-
getOrCreateFragmentedMessage
AtmospherePushConnection.FragmentedMessage getOrCreateFragmentedMessage(org.atmosphere.cpr.AtmosphereResource resource) Gets the partial message that is currently being received, if any.
Parameters:
resource
- the resource to get the partial message fromReturns:
the fragmented message being received or a new empty instance
-
clearFragmentedMessage
void clearFragmentedMessage(org.atmosphere.cpr.AtmosphereResource resource) Clears the partial message that is currently being received. Should be called when the whole message has been received.
Parameters:
resource
- the related resource
-