Skip to content

Instantly share code, notes, and snippets.

@benhardy
Created May 21, 2015 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benhardy/9b3e80a30ba18f8c86bd to your computer and use it in GitHub Desktop.
Save benhardy/9b3e80a30ba18f8c86bd to your computer and use it in GitHub Desktop.
public HttpField getField(String name)
{
for (int i=0;i<_fields.size();i++)
{
HttpField f=_fields.get(i);
if (f.getName().equalsIgnoreCase(name))
return f;
}
return null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment