public class ClientDataSinkImpl extends Object implements ClientDataSink
Constructor and Description |
---|
ClientDataSinkImpl(URLEncoder urlEncoder,
Key hmacKey) |
Modifier and Type | Method and Description |
---|---|
String |
getClientData()
Encoded the data written to the stream as a string that can be provided to the client.
|
String |
getEncodedClientData()
Returns the client data encoded (for inclusion in a URL) via
URLEncoder . |
ObjectOutputStream |
getObjectOutputStream()
Provides the output stream to which data can be written.
|
public ClientDataSinkImpl(URLEncoder urlEncoder, Key hmacKey) throws IOException
IOException
public ObjectOutputStream getObjectOutputStream()
ClientDataSink
getObjectOutputStream
in interface ClientDataSink
public String getClientData()
ClientDataSink
getClientData
in interface ClientDataSink
ClientDataEncoder.decodeClientData(String)
public String getEncodedClientData()
ClientDataSink
URLEncoder
.getEncodedClientData
in interface ClientDataSink
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.