Package io.undertow.server.handlers
Class LearningPushHandler
java.lang.Object
io.undertow.server.handlers.LearningPushHandler
- All Implemented Interfaces:
HttpHandler
Handler that builds up a cache of resources that a browsers requests, and uses
server push to push them when supported.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Session
getSession
(HttpServerExchange exchange) void
handleRequest
(HttpServerExchange exchange) Handle the request.
-
Constructor Details
-
LearningPushHandler
-
LearningPushHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
getSession
-