code: protected void detectHandlerMethods() {
  
  		processAtmostRequestMappingInfo();
  
  		try {
  			registerNativeFunctionHandlers(
  					handlerMappingInfoStorage.getHandlerMappingInfos(),
  					NativeFunctionResponseBodyHandler.class);
  			registerNativeFunctionHandlers(
  					handlerMappingInfoStorage.getHandlerWithViewMappingInfos(),
  					NativeFunctionModelAndViewHandler.class);
  
  		} catch (Exception e) {
  			e.printStackTrace();
  		}
  	}
docs: read user-defined javascript files in configured directory, and register
  handler methods in those files as Spring MVC handler.