You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Adam Winer (JIRA)" <ji...@apache.org> on 2008/10/03 01:45:47 UTC
[jira] Updated: (SHINDIG-641) Simplify DataRequestHandler
dispatching
[ https://issues.apache.org/jira/browse/SHINDIG-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Winer updated SHINDIG-641:
-------------------------------
Attachment: shindig-641.patch
Patch that gets rid of HandlerProvider, and replaces it with:
public interface HandlerDispatcher {
DataRequestHandler getHandler(String service);
}
... which makes dispatching more flexible, and lets you override dispatching with a decorator around the default instead of a subclass.
> Simplify DataRequestHandler dispatching
> ---------------------------------------
>
> Key: SHINDIG-641
> URL: https://issues.apache.org/jira/browse/SHINDIG-641
> Project: Shindig
> Issue Type: Improvement
> Components: RESTful API (Java)
> Reporter: Adam Winer
> Priority: Minor
> Attachments: shindig-641.patch
>
>
> SHINDIG-638 cleaned up DataRequestHandler creation, but still left us with a HandleProvider API that you need to subclass to manipulate, and that also codifies a service-name-to-handler Map as the dispatching mechanism.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.