> Any comments on the API? The biggest question is whether having a kvp > Map is overkill or not. And if not, should it still be possible to > have GET parameters appended into the URL without them being in the > kvp? question: what is your intended use for URLType? I see you may want to append or not your auth token based on whether the url points outside the server or not... still, I don't think there're programmaticaly created URLs pointing outside the server? (at least none that I can think of off the top of my head)
API wise, in principle the approach is correct. Now that we settled down the separation of concerns between service response urls (usually schema locations, either static or dynamically generated like DescribeFeatureType), the fact is that all URL constructions in GeoServer go through the RequestUtils.baseUrl(HttpServletRequest) method, so it seems that's where to inject the extension point? I've cooked the following patch which hopefully may simplify a bit the API and still provide enough context as to create your callback: <http://pastebin.com/m24ed06a0> Please tell me if it seems appropriate or am I missing something. Best regards, Gabriel > > > Sampo -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
