public class Safe
extends java.lang.Object
Constructor and Description |
---|
Safe() |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Supplier<java.lang.Boolean> |
ifClassIsLoaded(java.lang.String className) |
static boolean |
register(HttpConfig config,
java.util.function.Supplier<java.lang.Boolean> shouldRegister,
java.util.List<java.lang.String> contentTypes,
java.util.function.Supplier<java.util.function.BiConsumer<ChainedHttpConfig,ToServer>> encoderSupplier,
java.util.function.Supplier<java.util.function.BiFunction<ChainedHttpConfig,FromServer,java.lang.Object>> parserSupplier) |
static boolean |
register(HttpConfig config,
java.util.function.Supplier<java.lang.Boolean> shouldRegister,
java.lang.String contentType,
java.util.function.Supplier<java.util.function.BiConsumer<ChainedHttpConfig,ToServer>> encoderSupplier,
java.util.function.Supplier<java.util.function.BiFunction<ChainedHttpConfig,FromServer,java.lang.Object>> parserSupplier) |
public static boolean register(HttpConfig config, java.util.function.Supplier<java.lang.Boolean> shouldRegister, java.util.List<java.lang.String> contentTypes, java.util.function.Supplier<java.util.function.BiConsumer<ChainedHttpConfig,ToServer>> encoderSupplier, java.util.function.Supplier<java.util.function.BiFunction<ChainedHttpConfig,FromServer,java.lang.Object>> parserSupplier)
public static boolean register(HttpConfig config, java.util.function.Supplier<java.lang.Boolean> shouldRegister, java.lang.String contentType, java.util.function.Supplier<java.util.function.BiConsumer<ChainedHttpConfig,ToServer>> encoderSupplier, java.util.function.Supplier<java.util.function.BiFunction<ChainedHttpConfig,FromServer,java.lang.Object>> parserSupplier)
public static java.util.function.Supplier<java.lang.Boolean> ifClassIsLoaded(java.lang.String className)