build

Returns a service for the default model.


Returns a service for the named model. The endpoint's binding checks the name first, and the endpoint decides whether a model it accepts exists.

Return

a service for that model

Parameters

model

the model name

Throws

if the name is blank or the endpoint can never serve it