public AWS4SignerBase(URL endpointUrl,String httpMethod,String serviceName,String regionName){
  this.endpointUrl=endpointUrl;
  this.httpMethod=httpMethod;
  this.serviceName=serviceName;
  this.regionName=regionName;
  dateTimeFormat=new SimpleDateFormat(ISO8601BasicFormat);
  dateTimeFormat.setTimeZone(new SimpleTimeZone(0,"UTC"));
  dateStampFormat=new SimpleDateFormat(DateStringFormat);
  dateStampFormat.setTimeZone(new SimpleTimeZone(0,"UTC"));
}

public AWS4SignerBase ( URL endpointUrl , String httpMethod , String serviceName , String regionName ) { this . endpointUrl = endpointUrl ; this . httpMethod = httpMethod ; this . serviceName = serviceName ; this . regionName = regionName ; dateTimeFormat = new SimpleDateFormat ( ISO8601BasicFormat ) ; dateTimeFormat . setTimeZone ( new SimpleTimeZone ( 0 , "UTC" ) ) ; dateStampFormat = new SimpleDateFormat ( DateStringFormat ) ; dateStampFormat . setTimeZone ( new SimpleTimeZone ( 0 , "UTC" ) ) ; }
create a new aws v4 signer .
