Interface EndpointMapper<U>

    • Method Detail

      • map

        U map​(AtmosphereRequest req,
              java.util.Map<java.lang.String,​U> handlers)
        Mape the request to its associated endpoint.
        Parameters:
        req - an AtmosphereRequest
        handlers - a map used for mapping the request to.
        Returns:
        U the result, or null if not mapped
      • map

        U map​(java.lang.String path,
              java.util.Map<java.lang.String,​U> handlers)
        Mape the request to its associated endpoint.
        Parameters:
        path - a URI
        handlers - a map used for mapping the request to.
        Returns:
        U the result, or null if not mapped