Questions tagged [getmethod]

An HTTP protocol request method.

156 questions
0
votes
2 answers

ClassLoader getDeclaredField instance error

Why when i try to invoke the method i get: java.lang.IllegalArgumentException: object is not an instance of declaring class My code: Class tWCCamRes = tCLSLoader.loadClass("com.github.sarxos.webcam.WebcamResolution"); Field tVGA =…
SamYan
  • 1,553
  • 1
  • 19
  • 38
0
votes
1 answer

How can get methods like "method1.method2" ClassLoader?

I am new in ClassLoader issue in Java. So how can i call methods like getDefault().GetImage(); This is my current code: ClassLoader tCLSLoader = new URLClassLoader(tListURL); Class tCLS =…
SamYan
  • 1,553
  • 1
  • 19
  • 38
0
votes
2 answers

how to call webservice in xcode by GET Method?

I have this link : function new_message($chat_id,$user_id,$message,$recipient_ids) http://www.demii.com/demo/dooponz/admin/index.php/chat/new_message/4/1/you/2%2C7 return chat_log_id Can anyone please explain me how to call webserive by this get…
zeeshan shaikh
  • 819
  • 3
  • 18
  • 33
0
votes
1 answer

How can i get a setMethod to input value one time, while being in a loop? is it impossible?

A loop that has a setMethod for a private variable. I want this set-method to add value in the first turn of the loop, and then just stop. How can i do that? Code: for(int x = 0; x > 5; x++) { setnum(5); cout << getnum(); …
Nathaniel
  • 5
  • 2
0
votes
1 answer

AsyncHttpClient not passing the value to php

Hi i am using php to connect my android app to mysql but the get method is not passing the value to the php file. This is my code. private void executeAjaxRequest(){ String url = mDataUrl+"?request="+mRequest+"&outlet_id="+mOutletID; …
user1881440
0
votes
1 answer

How to get Httpclient GEtMethod Response in XML/JSON format

i'm using apache HttpClient's GetMethod to get the contents in URL.That url contains nothing but 2 directories under it. My requirement is to read those directory name and displaying it. I'm getting html source of that page as response, something…
Jeevi
  • 2,962
  • 6
  • 39
  • 60
0
votes
2 answers

ASP webservice using GET parameters and return JSON object

Im having a problem with my web service. When I pass the parameters as POST and in a JSON format, It returns a JSON object. I want to convert the POST to a GET but the problem is, the web service only returns in XML format.