public class LearningPushHandler extends Object implements HttpHandler
Modifier and Type | Class and Description |
---|---|
static class | LearningPushHandler.Builder |
Constructor and Description |
---|
LearningPushHandler(int maxEntries, int maxAge, HttpHandler next) |
Modifier and Type | Method and Description |
---|---|
protected Session | getSession(HttpServerExchange exchange) |
void | handleRequest(HttpServerExchange exchange) Handle the request. |
public LearningPushHandler(int maxEntries, int maxAge, HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
protected Session getSession(HttpServerExchange exchange)
Copyright © 2015 JBoss by Red Hat. All rights reserved.