Class HttpAsyncRequestHandlerRegistry

    • Constructor Detail

      • HttpAsyncRequestHandlerRegistry

        public HttpAsyncRequestHandlerRegistry()
        Deprecated.
    • Method Detail

      • register

        public void register​(java.lang.String pattern,
                             HttpAsyncRequestHandler<?> handler)
        Deprecated.
        Registers the given HttpAsyncRequestHandler as a handler for URIs matching the given pattern.
        Parameters:
        pattern - the pattern to register the handler for.
        handler - the handler.
      • unregister

        public void unregister​(java.lang.String pattern)
        Deprecated.
        Removes registered handler, if exists, for the given pattern.
        Parameters:
        pattern - the pattern to unregister the handler for.
      • setHandlers

        public void setHandlers​(java.util.Map<java.lang.String,​HttpAsyncRequestHandler<?>> map)
        Deprecated.
        Sets handlers from the given map.
        Parameters:
        map - the map containing handlers keyed by their URI patterns.
      • getHandlers

        public java.util.Map<java.lang.String,​HttpAsyncRequestHandler<?>> getHandlers()
        Deprecated.
        Get the handler map.
        Returns:
        The map of handlers and their associated URI patterns.