Interface EngineIoServer.HandshakeInterceptor

Enclosing class:
EngineIoServer

public static interface EngineIoServer.HandshakeInterceptor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Intercept and either allow or block the connection.
  • Method Details

    • intercept

      boolean intercept(Map<String,String> query, Map<String,List<String>> headers)
      Intercept and either allow or block the connection. If blocked, a bad request error is returned to the client.
      Parameters:
      query - Query parameters of the connection.
      headers - Headers in the connection request.
      Returns:
      Return true to allow the connection or false to block.