public abstract class EndpointNameDirective
extends java.lang.Object
| Constructor and Description |
|---|
EndpointNameDirective() |
| Modifier and Type | Method and Description |
|---|---|
akka.http.scaladsl.server.Directive<scala.runtime.BoxedUnit> |
endpointName(java.lang.String name)
Set the name of this endpoint unless the response coming back already has a name.
|
akka.http.scaladsl.model.HttpResponse |
responseWithNameIfEmpty(akka.http.javadsl.model.HttpResponse response,
java.lang.String name) |
public akka.http.scaladsl.model.HttpResponse responseWithNameIfEmpty(akka.http.javadsl.model.HttpResponse response,
java.lang.String name)
public akka.http.scaladsl.server.Directive<scala.runtime.BoxedUnit> endpointName(java.lang.String name)
name - (undocumented)Cinnamon API. Copyright (c) 2015–2021 Lightbend.