[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to