protected static class AtmospherePushConnection.FragmentedMessage extends Object
FRAGMENT_LENGTH.| Constructor and Description |
|---|
FragmentedMessage(String message)
Creates a new instance based on the given message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNextFragment()
Gets the following fragment and increments the internal fragment
counter so the following call to this method will return the
following fragment.
|
boolean |
hasNextFragment()
Checks if there is another fragment which can be retrieved using
getNextFragment() or if all fragments have been retrieved. |
public FragmentedMessage(String message)
message - the message to wrappublic boolean hasNextFragment()
getNextFragment() or if all fragments have been retrieved.public String getNextFragment()
This method should not be called if all fragments have been received
(hasNextFragment() returns false).
Copyright © 2000–2025 Vaadin Ltd. All rights reserved.