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.| Modifier and Type | Method and Description |
|---|---|
String |
decode(String encodedSessionId)
Decodes the specified session identifier encoded via
encode(String). |
String |
encode(String sessionId)
Encodes the specified session identifier
|
String encode(String sessionId)
sessionId - a session identifierString decode(String encodedSessionId)
encode(String).encodedSessionId - an encoded session identifierCopyright © 2018 JBoss by Red Hat. All rights reserved.