getName

The getName method returns the name component of a NameValuePair object.

getName()

Return value

The getName method returns a string.

Example

The following example is an excerpt from a method which processes the response object for getProfile.

for(NameValuePair nvp : response.getProfileRecord())
{
    System.out.println("Name:"+nvp.getName());
}