-
public class HttpCore.ResponseA type encapsulating an httpCore response
-
-
Field Summary
Fields Modifier and Type Field Description public intstatusCodepublic StringstatusLinepublic Map<String, List<String>>headerspublic StringcontentTypepublic intcontentLengthpublic Array<byte>body
-
Method Summary
Modifier and Type Method Description List<String>getHeaderFields(String name)Returns the value of the named header field. StringgetHeaderField(String name)-
-
Method Detail
-
getHeaderFields
List<String> getHeaderFields(String name)
Returns the value of the named header field.
If called on a connection that sets the same header multiple timeswith possibly different values, only the last value is returned.
- Parameters:
name- the name of a header field.
-
getHeaderField
String getHeaderField(String name)
-
-
-
-