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 |
---|---|
<T> T |
withName(java.lang.String requestName,
java.util.function.Supplier<T> f)
Used to wrap request sending with a request name.
|
public static final Request$ MODULE$
public <T> T withName(java.lang.String requestName, java.util.function.Supplier<T> f)
T
- return type of the functionrequestName
- the request namef
- the function to performf
Cinnamon API. Copyright (c) 2015–2021 Lightbend.