public FaxJobStatus getFaxJobStatus ( HTTPResponse httpResponse ) { //get path String path = this . getPathToResponseData ( FaxActionType . GET_FAX_JOB_STATUS ) ; //get fax job status string String faxJobStatusStr = this . findValue ( httpResponse , path ) ; FaxJobStatus faxJobStatus = FaxJobStatus . UNKNOWN ; if ( faxJobStatusStr != null ) { faxJobStatus = this . getFaxJobStatusFromStatusString ( faxJobStatusStr ) ; if ( faxJobStatus == null ) { faxJobStatus = FaxJobStatus . UNKNOWN ; } } return faxJobStatus ; }
This function extracts the fax job status from the HTTP response data .