HttpHandlerpublic class LearningPushHandler extends Object implements HttpHandler
| Modifier and Type | Class | Description |
|---|---|---|
static class |
LearningPushHandler.Builder |
| Constructor | Description |
|---|---|
LearningPushHandler(int maxEntries,
int maxAge,
HttpHandler next) |
|
LearningPushHandler(HttpHandler next) |
| Modifier and Type | Method | Description |
|---|---|---|
protected Session |
getSession(HttpServerExchange exchange) |
|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public LearningPushHandler(HttpHandler next)
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 © 2018. All rights reserved.