Package pl.gsmservice.gateway.utils
Class TypedObject
- java.lang.Object
-
- pl.gsmservice.gateway.utils.TypedObject
-
public class TypedObject extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypedObject.Serializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> TypedObjectof(T value, Utils.JsonShape shape, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)Utils.JsonShapeshape()java.lang.StringtoString()com.fasterxml.jackson.core.type.TypeReference<?>typeReference()java.lang.Objectvalue()
-
-
-
Method Detail
-
value
public java.lang.Object value()
-
typeReference
public com.fasterxml.jackson.core.type.TypeReference<?> typeReference()
-
shape
public Utils.JsonShape shape()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
of
public static <T> TypedObject of(T value, Utils.JsonShape shape, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
-
-