public class ThriftWrapper extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThriftWrapper.ThriftWrapperProxyMarker
Marker interface for ThriftWrapper created proxy.
|
| Constructor and Description |
|---|
ThriftWrapper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNullSafeProxy(Object target) |
static <T> T |
makeNullSafe(T source)
Returns null-safe collection proxy for thrift generated class.
|
static <T> T |
unwrap(T source) |
public static <T> T makeNullSafe(T source)
T - source - thrift generated instancepublic static <T> T unwrap(T source)
public static boolean isNullSafeProxy(Object target)
Copyright © 2014. All rights reserved.