public class WebSocketUpgradeHandlerPredicate extends Object implements BiPredicate<Object,org.springframework.web.server.ServerWebExchange>
AbstractUrlHandlerMapping.setHandlerPredicate(java.util.function.BiPredicate<java.lang.Object, org.springframework.web.server.ServerWebExchange>)
to ensure only WebSocket handshake requests are matched to handlers of type
WebSocketHandler.| Constructor and Description |
|---|
WebSocketUpgradeHandlerPredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(Object handler,
org.springframework.web.server.ServerWebExchange exchange) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, negate, orpublic boolean test(Object handler, org.springframework.web.server.ServerWebExchange exchange)
test in interface BiPredicate<Object,org.springframework.web.server.ServerWebExchange>