Hi @Uppari_Ramesh
When you create Servlet Filter, You get an option to specify the requests for which the filter should be called like
@Component(
service = Filter.class,
property = { EngineConstants.SLING_FILTER_SCOPE + "=REQUEST",
EngineConstants.SLING_FILTER_PAT...