public XYZ implements ContainerRequestFilter{
HttpServletRequesthttpServletRequestOverride //rest of the code below where httpServletRequestis used inside }
因此,当我使用@InjectMocks
master/proxy-server/src/main/java/com/example/StickySessionRule.java 我似乎已经正确配置了所有内容,并且在我的调试器中触发了规则,但是对RequestContext.getCurrentContext我的流量被代理和路由,我可以很好地使用应用程序,只是粘性会话规则不起作用。 要正确地将请求连接到此规则中,是否还有另一个步骤我遗漏了?;
import ja