JDK 1.7 had javax.annotation.Priority
annotation that helped in specifying the order in which filters should execute. It appears Priority class is no longer available in JDK1.8 - any idea how to set Filter ordering on Jersey? I am on JDK1.8 and Jersey. thanks
It's not a standard Java annotation. It's in the javax.annotation-api
jar. If you're using Maven or Gradle, it should already be pulled in by Jersey.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.