public class Request$
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Request$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
Request$() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
currentName()
Return the current request name.
|
<T> T |
withName(java.lang.String requestName,
scala.Function0<T> f)
Used to wrap request sending with a request name.
|
public static final Request$ MODULE$
public java.lang.String currentName()
public <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.