Class Request$
- java.lang.Object
-
- com.lightbend.cinnamon.akka.http.javadsl.client.Request$
-
public class Request$ extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Request$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
withName(java.lang.String requestName, java.util.function.Supplier<T> f)
Used to wrap request sending with a request name.
-
-
-
Field Detail
-
MODULE$
public static final Request$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
withName
public <T> T withName(java.lang.String requestName, java.util.function.Supplier<T> f)
Used to wrap request sending with a request name.- Type Parameters:
T
- return type of the function- Parameters:
requestName
- the request namef
- the function to perform- Returns:
- the result of evaluating
f
-
-