public class Session extends Middleware
vertx
Constructor and Description |
---|
Session(boolean httpOnly,
long maxAge,
javax.crypto.Mac mac) |
Session(long maxAge,
javax.crypto.Mac mac) |
Session(javax.crypto.Mac mac) |
Session(java.lang.String path,
boolean httpOnly,
long maxAge,
javax.crypto.Mac mac) |
Session(java.lang.String name,
java.lang.String path,
boolean httpOnly,
long maxAge,
javax.crypto.Mac mac) |
Modifier and Type | Method and Description |
---|---|
void |
handle(YokeRequest request,
org.vertx.java.core.Handler<java.lang.Object> next)
Handles a request.
|
isErrorHandler, setVertx
public Session(java.lang.String name, java.lang.String path, boolean httpOnly, long maxAge, javax.crypto.Mac mac)
public Session(java.lang.String path, boolean httpOnly, long maxAge, javax.crypto.Mac mac)
public Session(boolean httpOnly, long maxAge, javax.crypto.Mac mac)
public Session(long maxAge, javax.crypto.Mac mac)
public Session(javax.crypto.Mac mac)
public void handle(YokeRequest request, org.vertx.java.core.Handler<java.lang.Object> next)
Middleware
handle
in class Middleware
request
- A YokeRequest which in practice is a extended HttpServerRequestnext
- The callback to inform that the next middleware in the chain should be used. A value different from
null represents an error and in that case the error handler middleware will be executed.