public interface SessionIdentifierCodec
encode(CharSequence) and decode(CharSequence) 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 |
|---|---|
CharSequence |
decode(CharSequence encodedSessionId)
Decodes the specified session identifier encoded via
encode(CharSequence). |
CharSequence |
encode(CharSequence sessionId)
Encodes the specified session identifier
|
CharSequence encode(CharSequence sessionId)
sessionId - a session identifierCharSequence decode(CharSequence encodedSessionId)
encode(CharSequence).encodedSessionId - an encoded session identifierCopyright © 2020 JBoss by Red Hat. All rights reserved.