public final class Proxys
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
handlerProxy(java.lang.reflect.InvocationHandler raw,
java.lang.Class<T> main,
java.lang.Class<?>... type) |
static <T> T |
threadLocalProxy(java.lang.Class<T> type,
java.lang.ThreadLocal<? extends T> threadLocal,
T defaultValue) |
static HttpSession |
threadLocalRequestSessionProxy(java.lang.ThreadLocal<? extends HttpServletRequest> threadLocal,
HttpSession defaultValue) |
public static <T> T threadLocalProxy(java.lang.Class<T> type, java.lang.ThreadLocal<? extends T> threadLocal, T defaultValue)
public static HttpSession threadLocalRequestSessionProxy(java.lang.ThreadLocal<? extends HttpServletRequest> threadLocal, HttpSession defaultValue)
public static <T> T handlerProxy(java.lang.reflect.InvocationHandler raw, java.lang.Class<T> main, java.lang.Class<?>... type)