> -----Alkuperäinen viesti-----
> Lähettäjä: Gabriel Roldan [mailto:[email protected]] 
> Lähetetty: 24. elokuuta 2009 17:16
> Vastaanottaja: Andrea Aime
> Kopio: Savolainen Sampo; [email protected]
> Aihe: Re: [Geoserver-devel] URL construction callbacks
> 
> Hi All,
> 
> so, if I got it right, you want a to achieve configurable 
> means to append to the GeoServer generated URL´s, and the 
> callback mechanism you proposed seems really appropriate to me.

Yes. Configurable in the sense that one can add code which can relatively 
freely mangle said URLs.

> Still, I feel like this url callback mechanism to modify the 
> CGI like parameters for the generated urls, and the reverse 
> proxy servlet filter keep on being orthogonal issues.

I have misunderstood the function of the reverse proxy filter. You can safely 
ignore my uninformed ramblings about the filter. :)

> So, I don´t see this as a big concern really. I just think 
> the callback mechanism is really appropriate _and_ should be 
> used _also_ by the html url rewriting filter in order to 
> catch up on any missing URL, instead of replacing it.
> 
> The only open question then would be what happens when there 
> is at least one url construction callback configured _and_ 
> the html reverse proxy filter is disabled (like in the setup 
> avoids it in favor of, say, apache´s mod_proxy_html). May be 
> the answer is simply that the filter should engage anyway 
> whenever there´s a callback configured in the app context?

Unfortunately I do not understand enough of the internals of Geoserver to 
really comment on this. I can only expect that the optimum result would be that 
the default configuration of Geoserver would work the same as currently, with 
the only difference being a "feature transfer" to a set of default 
URLConstructionCallback imlementations. And of course the added ability of 
attaching more URLConstructionCallbacks.

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?


 Sampo

------------------------------------------------------------------------------
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

Reply via email to