RequestInterceptor

io.ino.solrs.RequestInterceptor

Clients can intercept requests.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def interceptRequest[T <: SolrResponse](f: (SolrServer, SolrRequest[_ <: T]) => Future[T])(solrServer: SolrServer, r: SolrRequest[_ <: T]): Future[T]

Intercept the given function, invoke the function with the given arguments and return the result.

Intercept the given function, invoke the function with the given arguments and return the result.

Value parameters

f

the function to intercept

r

the request to send to solr.

solrServer

the SolrServer that's used to run the request

Attributes

Returns

the solr response.