Package io.dropwizard.websockets
Class GeneralUtils
- java.lang.Object
-
- io.dropwizard.websockets.GeneralUtils
-
public class GeneralUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeneralUtils.ConsumerCheckException<T>static interfaceGeneralUtils.RunnableCheckExceptionstatic interfaceGeneralUtils.SupplierCheckException<T>
-
Constructor Summary
Constructors Constructor Description GeneralUtils()
-
Method Summary
Modifier and Type Method Description static <T> Consumer<T>rethrow(GeneralUtils.ConsumerCheckException<T> c)static Runnablerethrow(GeneralUtils.RunnableCheckException r)static <T> Supplier<T>rethrow(GeneralUtils.SupplierCheckException<T> c)
-
-
-
Method Detail
-
rethrow
public static <T> Consumer<T> rethrow(GeneralUtils.ConsumerCheckException<T> c)
-
rethrow
public static <T> Supplier<T> rethrow(GeneralUtils.SupplierCheckException<T> c)
-
rethrow
public static Runnable rethrow(GeneralUtils.RunnableCheckException r)
-
-