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
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionprotected Session getSession(HttpServerExchange exchange)
Copyright © 2015 JBoss by Red Hat. All rights reserved.