hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-308) Make HttpRequestHandlerResolver and HttpAsyncRequestHandlerResolver more generic
Date Mon, 13 Aug 2012 21:52:38 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433604#comment-13433604
] 

Oleg Kalnichevski commented on HTTPCORE-308:
--------------------------------------------

Patch looks good to me. I guess we should also provide a basic implementation of the HttpRequestHandlerMapper
that resolves handlers based on the request URI. Similar changes should be made to the async
HTTP service as well.  

Oleg
                
> Make HttpRequestHandlerResolver and HttpAsyncRequestHandlerResolver more generic
> --------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-308
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-308
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>    Affects Versions: 4.2.1
>            Reporter: William R. Speirs
>         Attachments: HTTPCORE-308.diff, HTTPCORE-308v2.diff
>
>
> Currently both HttpRequestHandlerResolver and HttpAsyncRequestHandlerResolver have a
single method lookup which takes a URI to resolve into a HttpRequestHandler/HttpAsyncRequestHandler.
These two interfaces could be made more generic by accepting an HttpRequest instead so that
routing can be performed based upon other parts of the request like the Host header.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message