public class ZeroSerializer extends Object
ZeroSerializer the request by different type. 1. String -> T 2. T -> JsonObject ( Envelop request ) 3. T -> String ( Generate resonse ) 4. Checking the request type to see where support serialization
| Constructor and Description |
|---|
ZeroSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getValue(Class<?> paramType,
String literal)
String -> T
|
static <T> boolean |
isDirect(T input) |
static <T> Object |
toSupport(T input)
T -> JsonObject
|
public static Object getValue(Class<?> paramType, String literal)
String -> T
paramType - argument typesliteral - literal valuespublic static <T> boolean isDirect(T input)
public static <T> Object toSupport(T input)
T -> JsonObject
T - Generic Typesinput - Checked objectCopyright © 2021. All rights reserved.