All pastes #913732 Raw Edit

Stuff

public java v1 · immutable
·published 2008-02-22 08:59 UTC
rendered paste body
            httpClient.getHostConfiguration().setHost("192.168.1.102",4000,"http");    	    			GetMethod method = new GetMethod("/logs/create");    			HttpMethodParams httpMethodParams = method.getParams();     			        		//httpMethodParams.setParameter(HttpMethodParams.RETRY_HANDLER, new DefaultHttpMethodRetryHandler(3, false));         		httpMethodParams.setParameter("receiver", rows.get(i).receiver);        		httpMethodParams.setParameter("profile", rows.get(i).profile);        		httpMethodParams.setParameter("method", rows.get(i).method);        		httpMethodParams.setParameter("duration", rows.get(i).duration);        		httpMethodParams.setParameter("time", rows.get(i).time);        		Log.v("WHY",httpMethodParams.getParameter("profile").toString());        		httpMethodParams.setParameter("QWERTY", "QWERTY");        		Log.v("METHOD", method.getQueryString()+"yy");        		Log.v("METHOD", httpMethodParams.toString() +" yyy");        		                method.setParams(httpMethodParams);                Log.v("METHOD", method.getQueryString()+"XX");                httpClient.executeMethod(method);                 Log.v("QWERTY", ">>> HOST = "+httpClient.getHostConfiguration().getHostURL());                 Integer statusCode = httpClient.executeMethod(method);                 Log.v("QWERTY", "status code was :" + statusCode);