Code example for HttpRequestBase

Methods: getURI

	public WeitianType executeHttpRequest(HttpRequestBase httpRequest, Parser<? extends WeitianType> parser)throws 
	WeiboCredentialsException, WeiboParseException,WeiboException, IOException{ 
        if (DEBUG) Log.d(TAG, "doHttpRequest: " + httpRequest.getURI());
        HttpResponse response = executeHttpRequest(httpRequest);
        int statusCode = response.getStatusLine().getStatusCode();
        switch (statusCode) {
            case 200: 
                String content = EntityUtils.toString(response.getEntity());
                if (DEBUG) Log.d(TAG, "executed HttpResponse for: "
                        + content);
                return JSONUtils.consume(parser, content);//����ʵ��
            case 400://400 �������� �����﷨��ʽ���󣬷������޷����������� 
                if (DEBUG) LOG.log(Level.FINE, "HTTP Code: 400");
Connect your IDE to all the code out there  Get Codota for Java