public class EndpointNameDirective
extends java.lang.Object
| Constructor and Description |
|---|
EndpointNameDirective() |
| Modifier and Type | Method and Description |
|---|---|
static akka.http.javadsl.server.Route |
endpointName(java.lang.String name,
java.util.function.Supplier<akka.http.javadsl.server.Route> inner)
Set the name of this endpoint unless the response coming back already has a name.
|
public static akka.http.javadsl.server.Route endpointName(java.lang.String name,
java.util.function.Supplier<akka.http.javadsl.server.Route> inner)
name - the name to setinner - the route to set the name onCinnamon API. Copyright (c) 2015–2021 Lightbend.