-
Method Summary
void
Clears the partial message that is currently being received.
Gets the partial message that is currently being received, if any.
-
Method Details
-
getOrCreateFragmentedMessage
Gets the partial message that is currently being received, if any.
- Parameters:
resource
- the resource to get the partial message from
- Returns:
- 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