public static boolean isFileTransferOverHttp(SipRequest request){
  CpimMessage message=extractCpimMessage(request);
  if (message == null) {
    return false;
  }
  String contentType=message.getContentType();
  return contentType != null && contentType.startsWith(FileTransferHttpInfoDocument.MIME_TYPE);
}

public static boolean isFileTransferOverHttp ( SipRequest request ) { CpimMessage message = extractCpimMessage ( request ) ; if ( message == null ) { return false ; } String contentType = message . getContentType ( ) ; return contentType != null && contentType . startsWith ( FileTransferHttpInfoDocument . MIME_TYPE ) ; }
is request is for ftohttp
