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.server.communication.
Class AtmospherePushConnection.FragmentedMessage
- java.lang.Object
-
- com.vaadin.server.communication.AtmospherePushConnection.FragmentedMessage
-
All Implemented Interfaces:
Enclosing class:
protected static class AtmospherePushConnection.FragmentedMessage extends Object implements Serializable
Represents a message that can arrive as multiple fragments.
See Also:
-
-
Constructor Summary
Constructors Constructor Description FragmentedMessage(Reader reader)
-
-
-
Constructor Detail
-
FragmentedMessage
public FragmentedMessage(Reader reader) throws IOException
Throws:
-
-
Method Detail
-
append
public boolean append(Reader reader) throws IOException
Appends all the data from the given Reader to this message and returns whether the message was completed.
Parameters:
reader
- The Reader from which to read.Returns:
true if this message is complete, false otherwise.
Throws:
-
getReader
public Reader getReader()
-
-