code: public static IRequestMapper setRootRequestMapper(final Application application,
  		final int httpPort, final int httpsPort)
  	{
  		final IRequestMapper httpsMapper = new HttpsMapper(application.getRootRequestMapper(),
  			new HttpsConfig(httpPort, httpsPort));
  		application.setRootRequestMapper(httpsMapper);
  		return httpsMapper;
  	}
docs: Sets the root request mapper for the given application from the given httpPort and httpsPort.
  
  @param application
  the application
  @param httpPort
  the http port
  @param httpsPort
  the https port
  @return the i request mapper