V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
hujianxin
V2EX  ›  程序员

jersey jax-rs 的 @Path 中,如何不匹配某个字符串?

  •  
  •   hujianxin · Feb 18, 2019 · 1009 views
    This topic created in 2636 days ago, the information mentioned may be changed or developed.

    目前的 Path 是这样的:@Path(/{username}/{password})

    但是呢,我想对 username 为 blacklist 的 URI 进行特殊处理,于是,之前的 @Path 就不能匹配 blacklist,这种情况有什么好的处理方法吗?

    有大佬对此方面有经验吗?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5494 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 09:18 · PVG 17:18 · LAX 02:18 · JFK 05:18
    ♥ Do have faith in what you're doing.