On Wed, 24 Dec 2014 08:26:30 PM Marks, David wrote: > As part of an ongoing project I am attempting to provide a customized > getCapabilities response via the DispatcherCallback framework. As such, I > am creating a new Response object which overrides the write method in > order to write my own custom content. Is this intended to provide compatibility with a client that doesn't use the new CF conventions?
> The problem I am running into, > however, is that I cannot find an efficient way to get access to the WMS > configuration details stored in the WMS class. Is there a callable method > I can use to gain access? Don't think there is a method, but you can just use dependency injection to get a WMS passed into your constructor. > Alternatively, is my approach (create a new > Response object that overrides "write") the wrong way to go when creating > a custom getCapabilities? Don't know, but interested in the answer. Right now I'm just patching geoserver. Brad ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
