|
@@ -1,5 +1,6 @@
|
|
|
package com.mrxu.framework.boot.web;
|
|
package com.mrxu.framework.boot.web;
|
|
|
|
|
|
|
|
|
|
+import com.mrxu.framework.boot.entity.RpcRequestInfo;
|
|
|
import com.mrxu.framework.common.util.StrFunc;
|
|
import com.mrxu.framework.common.util.StrFunc;
|
|
|
import org.springframework.web.context.request.RequestAttributes;
|
|
import org.springframework.web.context.request.RequestAttributes;
|
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
@@ -18,6 +19,9 @@ import java.util.*;
|
|
|
* @author Demon-HY
|
|
* @author Demon-HY
|
|
|
*/
|
|
*/
|
|
|
public class ServletUtils {
|
|
public class ServletUtils {
|
|
|
|
|
+
|
|
|
|
|
+ public static ThreadLocal<RpcRequestInfo> rpcRequestInfo = new ThreadLocal<RpcRequestInfo>();
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 获取String参数
|
|
* 获取String参数
|
|
|
*/
|
|
*/
|