Class ClientDataSinkImpl
java.lang.Object
org.apache.tapestry5.internal.services.ClientDataSinkImpl
- All Implemented Interfaces:
ClientDataSink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEncoded the data written to the stream as a string that can be provided to the client.Returns the client data encoded (for inclusion in a URL) viaURLEncoder
.Provides the output stream to which data can be written.
-
Constructor Details
-
ClientDataSinkImpl
- Throws:
IOException
-
-
Method Details
-
getObjectOutputStream
Description copied from interface:ClientDataSink
Provides the output stream to which data can be written.- Specified by:
getObjectOutputStream
in interfaceClientDataSink
- Returns:
- the stream
-
getClientData
Description copied from interface:ClientDataSink
Encoded the data written to the stream as a string that can be provided to the client. Implicitly closes the stream (if it has not already been closed).- Specified by:
getClientData
in interfaceClientDataSink
- Returns:
- the encoded data as a string
- See Also:
-
getEncodedClientData
Description copied from interface:ClientDataSink
Returns the client data encoded (for inclusion in a URL) viaURLEncoder
.- Specified by:
getEncodedClientData
in interfaceClientDataSink
-