Interface ProtocolUpgradeHandler

All Superinterfaces:
BiConsumer<ServerRequest,ServerResponse>, Handler
All Known Implementing Classes:
SecurityHandler

@Deprecated(since="3.0.0") public interface ProtocolUpgradeHandler extends Handler
Deprecated.
internal SPI for Helidon 3.x protocol upgrade handling
Handler that can enforce route policy for a protocol upgrade request without invoking the ordinary HTTP endpoint handler.

Implementations must use the same contract as ordinary HTTP handlers: call ServerRequest.next() to allow processing to continue, or send a response using ServerResponse to reject the upgrade.