Package com.iizix.nio

Interface WebSocketAcceptor

    • Method Detail

      • getHandledContextPaths

        java.lang.String[] getHandledContextPaths()
        Gets the list of potential handled context paths for the websocket.
        The array of possibly handled context paths, or null for none.
      • isRequestURIAccepted

        java.lang.Object isRequestURIAccepted​(IWebSocketComm comm,
                                              java.lang.String uri,
                                              java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headerFields)
        Called to check if a request URI can be accepted.
        comm - The WebSocket communication instance. For certain WebSocket implementations, this instance is null (e.g. for Grizzly in GlassFish).
        uri - The request URI, formatted as e.g. "/something/".
        headerFields - HTTP header fields, null if called for a quick-check of acceptance.
        Object an object that is attached to the TransactionComm instance, or null if the URI is not accepted.