static synchronized protected void setDefaults ( Map < Prop , Object > props ) { if ( false ) { // turn off for now props . put ( Prop . HANDLE_AUTHENTICATION , Boolean . TRUE ) ; } props . put ( Prop . HANDLE_REDIRECTS , Boolean . TRUE ) ; props . put ( Prop . ALLOW_CIRCULAR_REDIRECTS , Boolean . TRUE ) ; props . put ( Prop . MAX_REDIRECTS , ( Integer ) DFALTREDIRECTS ) ; props . put ( Prop . SO_TIMEOUT , ( Integer ) DFALTSOTIMEOUT ) ; props . put ( Prop . CONN_TIMEOUT , ( Integer ) DFALTCONNTIMEOUT ) ; props . put ( Prop . CONN_REQ_TIMEOUT , ( Integer ) DFALTCONNREQTIMEOUT ) ; props . put ( Prop . USER_AGENT , DFALTUSERAGENT ) ; }
Provide defaults for a settings map