public static boolean controllerHasRequestUriDirect(HttpServletRequest request,String uri){
  if (request == null) {
    return false;
  }
  RequestHandler rh=RequestHandler.getRequestHandler(request.getServletContext());
  return rh.controllerHasRequestUriDirect(uri);
}

public static boolean controllerHasRequestUriDirect ( HttpServletRequest request , String uri ) { if ( request == null ) { return false ; } RequestHandler rh = RequestHandler . getRequestHandler ( request . getServletContext ( ) ) ; return rh . controllerHasRequestUriDirect ( uri ) ; }
scipio : utility method that can be used for security checks to check if controller of current webapp has the specified uri and allows direct / public access .
