Example usage for Java com.squareup.okhttp Headers fields, constructors, methods, implement or subclass
The text is from its open source code.
String | get(String name) Returns the last value corresponding to the specified field, or null. |
String | name(int index) Returns the field at position or null if that is out of range. |
Set | names() Returns an immutable case-insensitive set of header names. |
Builder | newBuilder() |
Headers | of(String... namesAndValues) Returns headers for the alternating header names and values. |
Headers | of(Map Returns headers for the header names and values in the Map . |
int | size() Returns the number of field values. |
Map | toMultimap() |
String | toString() |
String | value(int index) Returns the value at index or null if that is out of range. |
List | values(String name) Returns an immutable list of the header values for name . |