[FEATURE] Add canHandleRequest to entry points

This change allows entry points to check if the current request can
be handled. This is useful for AJAX, REST and other request types.

Change-Id: I9d9eda5fd75342c4abdd4d171eda964aa9b97fe9
Releases: master
Resolves: #45100