Class ClientDataSinkImpl
- java.lang.Object
- 
- org.apache.tapestry5.internal.services.ClientDataSinkImpl
 
- 
- All Implemented Interfaces:
- ClientDataSink
 
 public class ClientDataSinkImpl extends java.lang.Object implements ClientDataSink 
- 
- 
Constructor SummaryConstructors Constructor Description ClientDataSinkImpl(URLEncoder urlEncoder, java.security.Key hmacKey)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClientData()Encoded the data written to the stream as a string that can be provided to the client.java.lang.StringgetEncodedClientData()Returns the client data encoded (for inclusion in a URL) viaURLEncoder.java.io.ObjectOutputStreamgetObjectOutputStream()Provides the output stream to which data can be written.
 
- 
- 
- 
Constructor Detail- 
ClientDataSinkImplpublic ClientDataSinkImpl(URLEncoder urlEncoder, java.security.Key hmacKey) throws java.io.IOException - Throws:
- java.io.IOException
 
 
- 
 - 
Method Detail- 
getObjectOutputStreampublic java.io.ObjectOutputStream getObjectOutputStream() Description copied from interface:ClientDataSinkProvides the output stream to which data can be written.- Specified by:
- getObjectOutputStreamin interface- ClientDataSink
- Returns:
- the stream
 
 - 
getClientDatapublic java.lang.String getClientData() Description copied from interface:ClientDataSinkEncoded 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:
- getClientDatain interface- ClientDataSink
- Returns:
- the encoded data as a string
- See Also:
- ClientDataEncoder.decodeClientData(String)
 
 - 
getEncodedClientDatapublic java.lang.String getEncodedClientData() Description copied from interface:ClientDataSinkReturns the client data encoded (for inclusion in a URL) viaURLEncoder.- Specified by:
- getEncodedClientDatain interface- ClientDataSink
 
 
- 
 
-