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
AHttpHandlerto register a list ofNotificationReceiverinstances 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 voidhandleRequest(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:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
-