Top Description Fields Constructors Methods
io.undertow.security.handlers

public Class NotificationReceiverHandler

extends Object
implements HttpHandler
Class Inheritance
All Implemented Interfaces
io.undertow.server.HttpHandler
Imports
java.util.Collection, io.undertow.security.api.NotificationReceiver, .SecurityContext, io.undertow.server.HttpHandler, .HttpServerExchange

A HttpHandler to register a list of NotificationReceiver instances with the current SecurityContext.
Author
Darran Lofthouse

Field Summary

Modifier and TypeField and Description
private final HttpHandler
private final NotificationReceiver[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
handleRequest(HttpServerExchange
the HTTP request/response exchange
exchange
)

Implements io.undertow.server.HttpHandler.handleRequest.

Handle the request.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nextback to summary
private final HttpHandler next
receiversback to summary
private final NotificationReceiver[] receivers

Constructor Detail

NotificationReceiverHandlerback to summary
public NotificationReceiverHandler(final HttpHandler next, final Collection<NotificationReceiver> receivers)

Method Detail

handleRequestback to summary
public void handleRequest(HttpServerExchange exchange) throws Exception

Implements io.undertow.server.HttpHandler.handleRequest.

Doc from io.undertow.server.HttpHandler.handleRequest.

Handle the request.

Parameters
exchange:HttpServerExchange

the HTTP request/response exchange

Annotations
@Override