public class CookieHandlerImpl extends Object implements CookieHandler
Parse request cookies both signed or plain.
If a cooke value starts with *s:* it means that it is a signed cookie. In this case the value is expected to be *s:<cookie>.<signature>*. The signature is *HMAC + SHA256*.
When the Cookie parser is initialized with a secret then that value is used to verify if a cookie is valid.
| Constructor and Description |
|---|
CookieHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(RoutingContext context)
Something has happened, so handle it.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic void handle(RoutingContext context)
Handlerhandle in interface Handler<RoutingContext>context - the event to handleCopyright © 2020. All rights reserved.