Searched refs:matchingHeaders (Results 1 – 1 of 1) sorted by relevance
402 String[] matchingHeaders = request.getHeaders(X_REQUESTED_WITH); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() local403 assertEquals(1, matchingHeaders.length); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()405 String header = matchingHeaders[0]; in testAppInjectedXRequestedWithHeaderIsNotOverwritten()426 String[] matchingHeaders = request.getHeaders(X_REQUESTED_WITH); in testAppCanInjectHeadersViaImmutableMap() local427 assertEquals(1, matchingHeaders.length); in testAppCanInjectHeadersViaImmutableMap()429 String header = matchingHeaders[0]; in testAppCanInjectHeadersViaImmutableMap()451 String[] matchingHeaders = request.getHeaders(header); in testCanInjectHeaders() local452 assertEquals("header " + header + " not found", 1, matchingHeaders.length); in testCanInjectHeaders()453 assertEquals(value.getValue(), matchingHeaders[0]); in testCanInjectHeaders() local