[
https://issues.apache.org/jira/browse/HTTPCORE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431350#comment-13431350
]
Oleg Kalnichevski commented on HTTPCORE-308:
--------------------------------------------
Bill,
I think there is no need to deprecate the entire HttpService class. It should
be sufficient to deprecate the old constructor that takes
HttpRequestHandlerResolver as a parameter and provide a new one that takes
HttpRequestHandlerMapper. The deprecated constructor can use an adaptor class
to translate HttpRequestHandlerMapper API calls to HttpRequestHandlerResolver
API.
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
>
>
> 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]