code: public static void setRootRequestMapperForDevelopment(final Application application,
  		final int httpPort, final int httpsPort)
  	{
  		application.setRootRequestMapper(new HttpsMapper(application.getRootRequestMapper(),
  			new HttpsConfig(httpPort, httpsPort))
  		{
  			@Override
  			protected Scheme getDesiredSchemeFor(final Class<? extends IRequestablePage> pageClass)
  			{
  				if (application.getConfigurationType().equals(RuntimeConfigurationType.DEVELOPMENT))
  				{
  					// is in development mode, returning Scheme.HTTP...
  					return Scheme.HTTP;
  				}
  				else
  				{
  					// not in development mode, letting the mapper decide
  					return super.getDesiredSchemeFor(pageClass);
  				}
  			}
  		});
  	}
docs: Sets the RootRequestMapper for the given application from the given httpPort and httpsPort.
  Note: if the configuration type is RuntimeConfigurationType.DEVELOPMENT then only HTTP scheme
  will be returned.
  
  @param application
  the application
  @param httpPort
  the http port
  @param httpsPort
  the https port