Package org.apache.flink.util
Class WrappingProxyUtil
- java.lang.Object
-
- org.apache.flink.util.WrappingProxyUtil
-
@Internal public final class WrappingProxyUtil extends Object
Utilities for working withWrappingProxy.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TstripProxy(WrappingProxy<T> wrappingProxy)Expects a proxy, and returns the unproxied delegate.
-
-
-
Method Detail
-
stripProxy
public static <T> T stripProxy(@Nullable WrappingProxy<T> wrappingProxy)Expects a proxy, and returns the unproxied delegate.- Type Parameters:
T- The type of the delegate. Note that all proxies in the chain must be assignable to T.- Parameters:
wrappingProxy- The initial proxy.- Returns:
- The unproxied delegate.
-
-