Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.services
Interface ClientDataSink

All Known Implementing Classes:
  ClientDataSinkImpl

    public interface ClientDataSink

Allows binary object data to be encoded into a string.

Since:
  5.1.0.1
See Also:
  `ClientDataEncoder.createSink()`

Method Summary
`java.lang.String` | `getClientData()` Encoded the data written to the stream as a string that can be provided to the client.
`java.lang.String` | `getEncodedClientData()` Returns the client data encoded (for inclusion in a URL) via `URLEncoder`.
`java.io.ObjectOutputStream` | `getObjectOutputStream()` Provides the output stream to which data can be written.

Method Detail

### getObjectOutputStream

    java.io.ObjectOutputStream getObjectOutputStream()

  Provides the output stream to which data can be written.

  Returns:
    the stream

### getClientData

    java.lang.String getClientData()

  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).

  Returns:
    the encoded data as a string
  See Also:
    `ClientDataEncoder.decodeClientData(String)`

### getEncodedClientData

    java.lang.String getEncodedClientData()

  Returns the client data encoded (for inclusion in a URL) via `URLEncoder`.

  Since:
    5.1.0.4

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.