Package play.libs
Class Resources
- Object
-
- play.libs.Resources
-
public class Resources extends Object
Provides utility functions to work with resources.
-
-
Constructor Summary
Constructors Constructor Description Resources()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends AutoCloseable,U>
CompletionStage<U>asyncTryWithResource(T resource, Function<T,CompletionStage<U>> body)
-
-
-
Method Detail
-
asyncTryWithResource
public static <T extends AutoCloseable,U> CompletionStage<U> asyncTryWithResource(T resource, Function<T,CompletionStage<U>> body)
-
-