[
https://issues.apache.org/jira/browse/HTTPCORE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William R. Speirs updated HTTPCORE-308:
---------------------------------------
Attachment: HTTPCORE-308v2.diff
Dropped the HttpServer class and simply modified HttpService. I kept the
adapter class private to HttpServer as it's not really needed outside of this
class. Again, the same basic changes will need to be made on the async side...
just checking these first.
> 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]