Introducing JDK 17 easy filter creation: Explain and exemplify the usage of the JDK 17 allowFilter() and rejectFilter() methods.