public class Endpoint
extends java.lang.Object
| Constructor and Description |
|---|
Endpoint() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
currentName()
Return the current HTTP endpoint name.
|
static <T> T |
withName(java.lang.String endpointName,
scala.Function0<T> f)
Used to wrap response creation with an HTTP endpoint name.
|
public static java.lang.String currentName()
public static <T> T withName(java.lang.String endpointName,
scala.Function0<T> f)
T - return type of the functionendpointName - the HTTP endpoint namef - the function to performfCinnamon API. Copyright (c) 2015–2021 Lightbend.