HttpHandler
public class NotificationReceiverHandler extends Object implements HttpHandler
HttpHandler
to register a list of NotificationReceiver
instances with the current SecurityContext
.Constructor | Description |
---|---|
NotificationReceiverHandler(HttpHandler next,
Collection<NotificationReceiver> receivers) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public NotificationReceiverHandler(HttpHandler next, Collection<NotificationReceiver> receivers)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2018. All rights reserved.