@Override
    protected FaxJobStatus getFaxJobStatusImpl(FaxJob faxJob)
    {
        //set default output
        FaxJobStatus faxJobStatus=FaxJobStatus.UNKNOWN;

        //create HTTP request
        HTTPRequest httpRequest=this.createGetFaxJobStatusHTTPRequest(faxJob);
        
        if(httpRequest!=null)
        {
            //submit HTTP request
            HTTPResponse httpResponse=this.submitHTTPRequest(faxJob,httpRequest,FaxActionType.GET_FAX_JOB_STATUS);
            
            //check HTTP response for fax job status
            if(httpResponse!=null)
            {
                faxJobStatus=this.httpResponseHandler.getFaxJobStatus(httpResponse);
                if(faxJobStatus==null)
                {
                    faxJobStatus=FaxJobStatus.UNKNOWN;
                }
            }
        }
        
        return faxJobStatus;
    }
@ Override protected FaxJobStatus getFaxJobStatusImpl ( FaxJob faxJob ) { FaxJobStatus faxJobStatus = FaxJobStatus . UNKNOWN ; HTTPRequest httpRequest = this . createGetFaxJobStatusHTTPRequest ( faxJob ) ; if ( httpRequest != null ) { HTTPResponse httpResponse = this . submitHTTPRequest ( faxJob , httpRequest , FaxActionType . GET_FAX_JOB_STATUS ) ; if ( httpResponse != null ) { faxJobStatus = this . httpResponseHandler . getFaxJobStatus ( httpResponse ) ; if ( faxJobStatus == null ) { faxJobStatus = FaxJobStatus . UNKNOWN ; } } } return faxJobStatus ; }
This function returns the fax job status.<br>
Not all SPIs support extraction of the fax job status.<br>
In case the SPI is unable to extract or does not support extracting
of the fax job status, it will return the UNKNOWN status.

@param   faxJob
The fax job object containing the needed information
@return  The fax job status