public interface SessionIdentifierCodec
encode(String)
and decode(String)
methods should be idempotent.
The codec methods should also be symmetrical. i.e. the result of
decode(encode(x))
should yield x
, just as the result of
encode(decode(y))
should yield y
.String encode(String sessionId)
sessionId
- a session identifierString decode(String encodedSessionId)
encode(String)
.encodedSessionId
- an encoded session identifierCopyright © 2014 JBoss by Red Hat. All rights reserved.