public class Request
extends java.lang.Object
| Constructor and Description |
|---|
Request() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
currentName()
Return the current request name.
|
static <T> T |
withName(java.lang.String requestName,
scala.Function0<T> f)
Used to wrap request sending with a request name.
|
public static java.lang.String currentName()
public static <T> T withName(java.lang.String requestName,
scala.Function0<T> f)
T - return type of the functionrequestName - the request namef - the function to performfCinnamon API. Copyright (c) 2015–2021 Lightbend.