Package io.undertow.security.handlers
Class NotificationReceiverHandler
- java.lang.Object
-
- io.undertow.security.handlers.NotificationReceiverHandler
-
- All Implemented Interfaces:
HttpHandler
public class NotificationReceiverHandler extends Object implements HttpHandler
AHttpHandler
to register a list ofNotificationReceiver
instances with the currentSecurityContext
.- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description NotificationReceiverHandler(HttpHandler next, Collection<NotificationReceiver> receivers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(HttpServerExchange exchange)
Handle the request.
-
-
-
Constructor Detail
-
NotificationReceiverHandler
public NotificationReceiverHandler(HttpHandler next, Collection<NotificationReceiver> receivers)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
-