for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>RouterHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="routerrpc.RouterHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:routerrpc.Router,prefix:String)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Router,String)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../routerrpc/RouterHandler$.html#apply(implementation:routerrpc.Router,prefix:String)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">apply</span><spanclass="params">(<spanname="implementation">implementation: <ahref="Router.html"name="routerrpc.Router"id="routerrpc.Router"class="extype">Router</a></span>, <spanname="prefix">prefix: <spanname="scala.Predef.String"class="extype">String</span></span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://pekko.apache.org/api/pekko/1.0.2/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider"name="org.apache.pekko.actor.ClassicActorSystemProvider"id="org.apache.pekko.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://pekko.apache.org/api/pekko-http/1.0.1/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest"name="org.apache.pekko.http.scaladsl.model.HttpRequest"id="org.apache.pekko.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.14/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://pekko.apache.org/api/pekko-http/1.0.1/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse"name="org.apache.pekko.http.scaladsl.model.HttpResponse"id="org.apache.pekko.http.scaladsl.model.HttpResponse"class="extype">HttpResponse</a>]</span></span><pclass="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>RouterHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="routerrpc.RouterHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:routerrpc.Router,eHandler:org.apache.pekko.actor.ActorSystem=>PartialFunction[Throwable,org.apache.pekko.grpc.Trailers])(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Router,(ActorSystem)=>PartialFunction[Throwable,Trailers])(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../routerrpc/RouterHandler$.html#apply(implementation:routerrpc.Router,eHandler:org.apache.pekko.actor.ActorSystem=>PartialFunction[Throwable,org.apache.pekko.grpc.Trailers])(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">apply</span><spanclass="params">(<spanname="implementation">implementation: <ahref="Router.html"name="routerrpc.Router"id="routerrpc.Router"class="extype">Router</a></span>, <spanname="eHandler">eHandler: (<ahref="https://pekko.apache.org/api/pekko/1.0.2/org/apache/pekko/actor/ActorSystem.html#org.apache.pekko.actor.ActorSystem"name="org.apache.pekko.actor.ActorSystem"id="org.apache.pekko.actor.ActorSystem"class="extype">ActorSystem</a>) =><ahref="https://www.scala-lang.org/api/2.13.14/scala/PartialFunction.html#scala.PartialFunction"name="scala.PartialFunction"id="scala.PartialFunction"class="extype">PartialFunction</a>[<ahref="../scala/index.html#Throwable=Throwable"name="scala.Throwable"id="scala.Throwable"class="extmbr">Throwable</a>, <ahref="https://pekko.apache.org/api/pekko-grpc/1.0.2/org/apache/pekko/grpc/org/apache/pekko/grpc/Trailers.html#org.apache.pekko.grpc.Trailers"name="org.apache.pekko.grpc.Trailers"id="org.apache.pekko.grpc.Trailers"class="extype">Trailers</a>]</span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://pekko.apache.org/api/pekko/1.0.2/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider"name="org.apache.pekko.actor.ClassicActorSystemProvider"id="org.apache.pekko.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://pekko.apache.org/api/pekko-http/1.0.1/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest"name="org.apache.pekko.http.scaladsl.model.HttpRequest"id="org.apache.pekko.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.14/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://pekko.apache.org/api/pekko-http/1.0.1/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse"name="org.apache.pekko.http.scaladsl.model.HttpResponse"id="org.apache.pekko.http.scaladsl.model.HttpResponse"class="extype">HttpResponse</a>]</span></span><pclass="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>RouterHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="routerrpc.RouterHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:routerrpc.Router)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Router)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../routerrpc/RouterHandler$.html#apply(implementation:routerrpc.Router)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">apply</span><spanclass="params">(<spanname="implementation">implementation: <ahref="Router.html"name="routerrpc.Router"id="routerrpc.Router"class="extype">Router</a></span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://pekko.apache.org/api/pekko/1.0.2/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider"name="org.apache.pekko.actor.ClassicActorSystemProvider"id="org.apache.pekko.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://pekko.apache.org/api/pekko-http/1.0.1/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest"name="org.apache.pekko.http.scaladsl.model.HttpRequest"id="org.apache.pekko.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.14/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://pekko.apache.org/api/pekko-http/1.0.1/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse"name="org.apache.pekko.http.scaladsl.model.HttpResponse"id="org.apache.pekko.http.scaladsl.model.HttpResponse"class="extype">HttpResponse</a>]</span></span><pclass="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>RouterHandler.partial</code> when combining
<code>Http().bindAndHandleAsync</code>.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a partial <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be combined with handlers of other
<code>Http().bindAndHandleAsync</code>.</p><p>Use <code>RouterHandler.apply</code> if the server is only handling one service.</p><p>Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.
for the generated partial function handler.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler. The generated handler falls back to a reflection handler for
<code>Router</code> and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>RouterHandler.partial</code> when combining
</p></div></div></li></ol></div></div><divid="inheritedMembers"><divname="scala.AnyRef"class="parent"><h3>Inherited from <ahref="../scala/index.html#AnyRef=Object"name="scala.AnyRef"id="scala.AnyRef"class="extmbr">AnyRef</a></h3></div><divname="scala.Any"class="parent"><h3>Inherited from <ahref="https://www.scala-lang.org/api/2.13.14/scala/Any.html#scala.Any"name="scala.Any"id="scala.Any"class="extype">Any</a></h3></div></div><divid="groupedMembers"><divname="Ungrouped"class="group"><h3>Ungrouped</h3></div></div></div><divid="tooltip"></div><divid="footer"></div></body></div></div></div></body></html>