The router uses a protocol-specific StackClient to build the underlying client so that the Router doesn't need to replicate Transporter/Dispatcher/endpointer logic.
The router uses a protocol-specific StackClient to build the underlying client so that the Router doesn't need to replicate Transporter/Dispatcher/endpointer logic.
A copy constructor in lieu of defining StackRouter as a case class.
A copy constructor in lieu of defining StackRouter as a case class.
Builds an Identifier, a function that yields a Dst for each request.
Builds an Identifier, a function that yields a Dst for each request.
The current parameter map used in this StackRouter
The current parameter map used in this StackRouter
Prepend boundStack
with the given filter.
Prepend boundStack
with the given filter.
Prepend clientStack
with the given filter.
Prepend clientStack
with the given filter.
Java compat
Java compat
Creates a new StackClient with parameter p
.
Creates a new StackClient with parameter p
.
Create a new ServiceFactory that performs per-request routing.
Create a new ServiceFactory that performs per-request routing.
Prepend pathStack
with the given filter.
Prepend pathStack
with the given filter.
A Stack module that is pushed to the top of the pathStack
.
A Stack module that is pushed to the top of the pathStack
. and
materializes boundStack
and clientStack
below, with caching.
Creates a new StackClient with params
used to configure this
StackClient's stack
.
Creates a new StackClient with params
used to configure this
StackClient's stack
.
The standard template implementation of StackRouter.
Provides Stack caching so that e.g. multiple per-path stacks may share common underlying
boundStack
andclientStack
service factories.Implementers must provide a
newIdentifier()
implementation that l