Searched refs:getHeaderFieldKey (Results 1 – 8 of 8) sorted by relevance
84 assertEquals("last-modified", conn.getHeaderFieldKey(2)); in testHeaderFunctions()85 assertEquals("content-length", conn.getHeaderFieldKey(1)); in testHeaderFunctions()86 assertEquals("content-type", conn.getHeaderFieldKey(0)); in testHeaderFunctions()95 assertNull(urlConnection.getHeaderFieldKey(Integer.MIN_VALUE)); in testHeader_BoundaryCheck()96 assertNull(urlConnection.getHeaderFieldKey(Integer.MAX_VALUE)); in testHeader_BoundaryCheck()
82 public String getHeaderFieldKey(int index) throws IOException { in getHeaderFieldKey() method in Support_URLConnector83 return ((HttpURLConnection) instance).getHeaderFieldKey(index); in getHeaderFieldKey()
45 public String getHeaderFieldKey(int index) throws IOException; in getHeaderFieldKey() method
121 String key = connector.getHeaderFieldKey(i); in runTests()
80 String name = connection.getHeaderFieldKey(i); in getHeaders()112 String name = connection.getHeaderFieldKey(i); in dump()
260 public String getHeaderFieldKey(int posn) { in getHeaderFieldKey() method in HttpsURLConnectionImpl261 return delegate.getHeaderFieldKey(posn); in getHeaderFieldKey()
144 @Override public final String getHeaderFieldKey(int position) { in getHeaderFieldKey() method in HttpURLConnectionImpl
229 assertEquals("A", urlConnection.getHeaderFieldKey(0)); in testResponseHeaders()231 assertEquals("B", urlConnection.getHeaderFieldKey(1)); in testResponseHeaders()233 assertEquals("A", urlConnection.getHeaderFieldKey(2)); in testResponseHeaders()