test_class.declarator: apiRequestMatcher = new HttpHeaderInspectingApiRequestMatcher()
test_class.modifier: private
test_class.original_string: private RequestMatcher apiRequestMatcher = new HttpHeaderInspectingApiRequestMatcher();
test_class.type: RequestMatcher
test_class.var_name: apiRequestMatcher
test_class.declarator: request
test_class.modifier: private
test_class.original_string: private MockHttpServletRequest request;
test_class.type: MockHttpServletRequest
test_class.var_name: request
test_class.file: adapters/oidc/spring-security/src/test/java/org/keycloak/adapters/springsecurity/authentication/HttpHeaderInspectingApiRequestMatcherTest.java
test_class.identifier: HttpHeaderInspectingApiRequestMatcherTest
test_case.body: @Test
      public void testMatchesBrowserRequest() throws Exception {
          request.addHeader(HttpHeaders.ACCEPT, "application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
          assertFalse(apiRequestMatcher.matches(request));
      }
test_case.class_method_signature: HttpHeaderInspectingApiRequestMatcherTest.testMatchesBrowserRequest()
test_case.full_signature: @Test public void testMatchesBrowserRequest()
test_case.identifier: testMatchesBrowserRequest
test_case.invocations: addHeader assertFalse matches
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatchesBrowserRequest()
focal_class.declarator: X_REQUESTED_WITH_HEADER = "X-Requested-With"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String X_REQUESTED_WITH_HEADER = "X-Requested-With";
focal_class.type: String
focal_class.var_name: X_REQUESTED_WITH_HEADER
focal_class.declarator: X_REQUESTED_WITH_HEADER_AJAX_VALUE = "XMLHttpRequest"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String X_REQUESTED_WITH_HEADER_AJAX_VALUE = "XMLHttpRequest";
focal_class.type: String
focal_class.var_name: X_REQUESTED_WITH_HEADER_AJAX_VALUE
focal_class.file: adapters/oidc/spring-security/src/main/java/org/keycloak/adapters/springsecurity/authentication/HttpHeaderInspectingApiRequestMatcher.java
focal_class.identifier: HttpHeaderInspectingApiRequestMatcher
focal_class.interfaces: implements RequestMatcher
focal_class.class_method_signature: HttpHeaderInspectingApiRequestMatcher.matches(HttpServletRequest request)
focal_class.full_signature: @Override public boolean matches(HttpServletRequest request)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request)
focal_class.return: boolean
focal_class.signature: boolean matches(HttpServletRequest request)
focal_method.body: @Override
      public boolean matches(HttpServletRequest request) {
          return X_REQUESTED_WITH_HEADER_AJAX_VALUE.equals(request.getHeader(X_REQUESTED_WITH_HEADER));
      }
focal_method.class_method_signature: HttpHeaderInspectingApiRequestMatcher.matches(HttpServletRequest request)
focal_method.full_signature: @Override public boolean matches(HttpServletRequest request)
focal_method.identifier: matches
focal_method.invocations: equals getHeader
focal_method.modifiers: @Override public
focal_method.parameters: (HttpServletRequest request)
focal_method.return: boolean
focal_method.signature: boolean matches(HttpServletRequest request)