code: protected String formatHTTPResource(HTTPFaxClientSpi faxClientSpi,FaxActionType faxActionType,FaxJob faxJob)
      {
          //get resource
          String resourceTemplate=faxClientSpi.getHTTPResource(faxActionType);
          
          //format resource
          String resource=SpiUtil.formatTemplate(resourceTemplate,faxJob,SpiUtil.URL_ENCODER,false,false);
          
          return resource;
      }
docs: This function formats the HTTP resource.
  
  @param   faxClientSpi
  The HTTP fax client SPI
  @param   faxActionType
  The fax action type
  @param   faxJob
  The fax job object
  @return  The formatted HTTP resource