462040 reverted and deprecated getStringField methods

This commit is contained in:
Greg Wilkins 2015-03-13 14:51:08 +11:00
parent 3f795da26c
commit 93a6811580
1 changed files with 13 additions and 2 deletions

View File

@ -202,7 +202,12 @@ public class HttpFields implements Iterable<HttpField>
}
return false;
}
@Deprecated
public String getStringField(HttpHeader header)
{
return get(header);
}
public String get(HttpHeader header)
{
@ -215,6 +220,12 @@ public class HttpFields implements Iterable<HttpField>
return null;
}
@Deprecated
public String getStringField(String name)
{
return get(name);
}
public String get(String header)
{
for (int i=0;i<_size;i++)
@ -225,7 +236,7 @@ public class HttpFields implements Iterable<HttpField>
}
return null;
}
/**
* Get multi headers
*