public interface Transcoder
Transcoder components are used by ClientFlowExecutionRepository for producing the data stored
in a ClientFlowExecutionKey.ClientFlowExecutionKey,
ClientFlowExecutionRepository| Modifier and Type | Method and Description |
|---|---|
Object |
decode(byte[] encoded)
Decodes a stream of bytes produced by
encode(Object) back into the original object. |
byte[] |
encode(Object o)
Encodes an object into a stream of bytes.
|
byte[] encode(Object o) throws IOException
o - Object to encode.IOException - On encoding errors.Object decode(byte[] encoded) throws IOException
encode(Object) back into the original object.encoded - Encoded representation of an object.IOException - On decoding errors.Copyright © 2013-2016 Apereo. All Rights Reserved.