我已经实施了休息服务。
我正在尝试在过滤器中获取请求的路径参数。
我的要求是
/api/test/{id1}/{status}
public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain)
throws IOException, ServletException
{
//Way to get the path parameters id1 and status
}