well unfortunately , no. Solr cannot assume that the request would always come from http (think of EmbeddedSolrServer) .So it assumes that there are only parameters Your best bet is to modify SolrDispatchFilter and readthe params and set them in the SolrRequest Object
or you can just write a Filter before SolrDispatchFIlter and set the current httrequest object into a threadlocal On Thu, Apr 9, 2009 at 6:27 PM, Giovanni De Stefano <giovanni.destef...@gmail.com> wrote: > Hello all, > > we are writing a custom request handler and we need to implement some > business logic according to some HTTP headers. > > I see there is no easy way to access HTTP headers from the request handler. > > Moreover it seems to me that the HTTPServletness is lost way before the > custom request handler comes in the game. > > Is there any way to access HTTP headers from within the request handler? > > Thanks, > Giovanni > -- --Noble Paul