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