网址发送到活动?

如果网址包含classid,我正在打开个人资料活动,否则我正在载入网址。

我想将URL发送到profileactivity,并在profileActivity中接收URL。

   private class HelpClientt extends WebViewClient {
        @Override
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            if(url.contains("classid")){
                startActivity(new Intent( MainActivity.this, profileActivity.class));

            }else{
                webView.loadUrl(url);
            }

            return true;
        }
        public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) {
            view.loadUrl("file:///android_asset/error.html");

        }
    }