code: protected String getChannelName(final HttpServletRequest request) {
          final String path = request.getPathInfo();
          return path == null ? "" : path.startsWith("/") ? path.substring(1) : path;
      }
docs: Extracts the name of the channel the client that invoked a request wants to connect to.
  
  @param request The request to connect to a channel.
  @return The channel that the client want's to connect to. It is irrelevant if this channel does or does not
  exist.