Hello All,

I would like to add a customization to Apache Wink that allows me to use a 
query parameter or custom header for routing in order to implement versioning. 
After reviewing the code it appears the best way to do this would be to extend 
the ResourceRegistry class and override/extend the method: 
filterDispatchMethods(ResourceInstance, List<? extends 
MethodRecord>,RuntimeContext)

It appears the only way to do this would be to extend 
DeploymentConfiguration.initRegistries() by throwing away the instance of 
ResourceRegistry that is created, replacing it with my own instance.

Does anyone have any thoughts or suggestions on a better way to do this?

Thanks!

Darin


Reply via email to