public class WebSocketUtils extends Object
| Constructor and Description |
|---|
WebSocketUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
distinctByKey(Function<? super T,Object> keyExtractor) |
static String |
generatePath(String filename)
Generate path in server.
|
static void |
InitializeGrizzlyLogger() |
static boolean |
isJSONValid(String test) |
public static <T> Predicate<T> distinctByKey(Function<? super T,Object> keyExtractor)
T - keyExtractor - public static boolean isJSONValid(String test)
test - public static String generatePath(String filename)
filename - the desired filenamepublic static void InitializeGrizzlyLogger()
Copyright © 2016. All rights reserved.