code: protected HTTPRequest createCommonHTTPRequest(HTTPFaxClientSpi faxClientSpi,FaxActionType faxActionType)
      {
          //setup common request data
          HTTPRequest httpRequest=new HTTPRequest();
          String resource=faxClientSpi.getHTTPResource(faxActionType);
          httpRequest.setResource(resource);
          String urlParameters=faxClientSpi.getHTTPURLParameters();
          httpRequest.setParametersText(urlParameters);
  
          return httpRequest;
      }
docs: Creates a HTTP request with the common data.
  
  @param   faxClientSpi
  The HTTP fax client SPI
  @param   faxActionType
  The fax action type
  @return  The HTTP request to send