List of usage examples for org.springframework.web.socket WebSocketHttpHeaders containsKey
@Override public boolean containsKey(Object key)
From source file:com.github.mthizo247.cloud.netflix.zuul.web.authentication.LoginCookieHeadersCallback.java
@Override protected boolean shouldApplyHeaders(WebSocketSession userAgentSession, WebSocketHttpHeaders headers) { return !headers.containsKey(HttpHeaders.COOKIE) && userAgentSession.getHandshakeHeaders().containsKey(HttpHeaders.COOKIE); }