code: Broadcaster lookupBroadcaster(AtmosphereResource ar) {
  
          String pathInfo = ar.getRequest().getPathInfo();
          String[] decodedPath = pathInfo.split("/");
          Broadcaster b = ar.getAtmosphereConfig().getBroadcasterFactory().lookup(
                  decodedPath[decodedPath.length - 1], true);
          return b;
      }
docs: Retrieve the {@link Broadcaster} based on the request's path info.
  
  @param ar
  @return the {@link Broadcaster} based on the request's path info.