protected HttpPut createHttpPut(String url, IGs2Credential credential, String service, String module, String function, String body) {
		Long timestamp = System.currentTimeMillis()/1000;
		url = StringUtils.replace(url, "{service}", service);
		url = StringUtils.replace(url, "{region}", region.getName());
		HttpPut put = new HttpPut(url);
		put.setHeader("Content-Type", "application/json");
		credential.authorized(put, service, module, function, timestamp);
		put.setEntity(new StringEntity(body, "UTF-8"));
		return put;
	}
protected HttpPut createHttpPut ( String url , IGs2Credential credential , String service , String module , String function , String body ) { Long timestamp = System . currentTimeMillis ( ) / 1000 ; url = StringUtils . replace ( url , "{service}" , service ) ; url = StringUtils . replace ( url , "{region}" , region . getName ( ) ) ; HttpPut put = new HttpPut ( url ) ; put . setHeader ( "Content-Type" , "application/json" ) ; credential . authorized ( put , service , module , function , timestamp ) ; put . setEntity ( new StringEntity ( body , "UTF-8" ) ) ; return put ; }
POSTリクエストを生成

@param url アクセス先URL
@param credential 認証情報
@param service アクセス先サービス
@param module アクセス先モジュール
@param function アクセス先ファンクション
@param body リクエストボディ
@return リクエストオブジェクト