public static String doPost ( final String action , final Map < String , String > parameters , final int retryTimes ) { try { return doPostByLoop ( action , parameters , retryTimes ) ; } catch ( HttpException e ) { throw new HttpException ( format ( "Failed to download content for action url: '%s' with parameters. Tried '%s' times" , action , parameters , Math . max ( retryTimes + 1 , 1 ) ) ) ; } }
access given action with given parameters by post if get exception will retry by given retryTimes .