RequestInterceptor

io.ino.solrs.RequestInterceptor

Clients can intercept requests.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

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.

Attributes

f

the function to intercept

r

the request to send to solr.

solrServer

the SolrServer that's used to run the request

Returns:

the solr response.