test_class.declarator: COOKIE_NAME = "oreo"
test_class.modifier: private static final
test_class.original_string: private static final String COOKIE_NAME = "oreo";
test_class.type: String
test_class.var_name: COOKIE_NAME
test_class.declarator: HEADER_MULTI_VALUE = "Multi"
test_class.modifier: private static final
test_class.original_string: private static final String HEADER_MULTI_VALUE = "Multi";
test_class.type: String
test_class.var_name: HEADER_MULTI_VALUE
test_class.declarator: HEADER_SINGLE_VALUE = "Single"
test_class.modifier: private static final
test_class.original_string: private static final String HEADER_SINGLE_VALUE = "Single";
test_class.type: String
test_class.var_name: HEADER_SINGLE_VALUE
test_class.declarator: REQUEST_METHOD = RequestMethod.GET.name()
test_class.modifier: private static final
test_class.original_string: private static final String REQUEST_METHOD = RequestMethod.GET.name();
test_class.type: String
test_class.var_name: REQUEST_METHOD
test_class.declarator: REQUEST_URI = "/foo/bar"
test_class.modifier: private static final
test_class.original_string: private static final String REQUEST_URI = "/foo/bar";
test_class.type: String
test_class.var_name: REQUEST_URI
test_class.declarator: QUERY_PARM_1 = "code"
test_class.modifier: private static final
test_class.original_string: private static final String QUERY_PARM_1 = "code";
test_class.type: String
test_class.var_name: QUERY_PARM_1
test_class.declarator: QUERY_PARM_2 = "code2"
test_class.modifier: private static final
test_class.original_string: private static final String QUERY_PARM_2 = "code2";
test_class.type: String
test_class.var_name: QUERY_PARM_2
test_class.declarator: request
test_class.modifier: private
test_class.original_string: private WrappedHttpServletRequest request;
test_class.type: WrappedHttpServletRequest
test_class.var_name: request
test_class.declarator: mockHttpServletRequest
test_class.modifier: private
test_class.original_string: private MockHttpServletRequest mockHttpServletRequest;
test_class.type: MockHttpServletRequest
test_class.var_name: mockHttpServletRequest
test_class.file: adapters/oidc/spring-security/src/test/java/org/keycloak/adapters/springsecurity/facade/WrappedHttpServletRequestTest.java
test_class.identifier: WrappedHttpServletRequestTest
test_case.body: @Test
      public void testGetCookieCookiesNull() throws Exception
      {
          mockHttpServletRequest.setCookies(null);
          request.getCookie(COOKIE_NAME);
      }
test_case.class_method_signature: WrappedHttpServletRequestTest.testGetCookieCookiesNull()
test_case.full_signature: @Test public void testGetCookieCookiesNull()
test_case.identifier: testGetCookieCookiesNull
test_case.invocations: setCookies getCookie
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetCookieCookiesNull()
focal_class.declarator: request
focal_class.modifier: private final
focal_class.original_string: private final HttpServletRequest request;
focal_class.type: HttpServletRequest
focal_class.var_name: request
focal_class.declarator: inputStream
focal_class.modifier: private
focal_class.original_string: private InputStream inputStream;
focal_class.type: InputStream
focal_class.var_name: inputStream
focal_class.file: adapters/oidc/spring-security/src/main/java/org/keycloak/adapters/springsecurity/facade/WrappedHttpServletRequest.java
focal_class.identifier: WrappedHttpServletRequest
focal_class.interfaces: implements Request
focal_class.class_method_signature: WrappedHttpServletRequest.WrappedHttpServletRequest(HttpServletRequest request)
focal_class.full_signature: public  WrappedHttpServletRequest(HttpServletRequest request)
focal_class.identifier: WrappedHttpServletRequest
focal_class.modifiers: public
focal_class.parameters: (HttpServletRequest request)
focal_class.signature:  WrappedHttpServletRequest(HttpServletRequest request)
focal_class.class_method_signature: WrappedHttpServletRequest.getFirstParam(String param)
focal_class.full_signature: @Override public String getFirstParam(String param)
focal_class.identifier: getFirstParam
focal_class.modifiers: @Override public
focal_class.parameters: (String param)
focal_class.return: String
focal_class.signature: String getFirstParam(String param)
focal_class.class_method_signature: WrappedHttpServletRequest.getMethod()
focal_class.full_signature: @Override public String getMethod()
focal_class.identifier: getMethod
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getMethod()
focal_class.class_method_signature: WrappedHttpServletRequest.getURI()
focal_class.full_signature: @Override public String getURI()
focal_class.identifier: getURI
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getURI()
focal_class.class_method_signature: WrappedHttpServletRequest.getRelativePath()
focal_class.full_signature: @Override public String getRelativePath()
focal_class.identifier: getRelativePath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getRelativePath()
focal_class.class_method_signature: WrappedHttpServletRequest.isSecure()
focal_class.full_signature: @Override public boolean isSecure()
focal_class.identifier: isSecure
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSecure()
focal_class.class_method_signature: WrappedHttpServletRequest.getQueryParamValue(String param)
focal_class.full_signature: @Override public String getQueryParamValue(String param)
focal_class.identifier: getQueryParamValue
focal_class.modifiers: @Override public
focal_class.parameters: (String param)
focal_class.return: String
focal_class.signature: String getQueryParamValue(String param)
focal_class.class_method_signature: WrappedHttpServletRequest.getCookie(String cookieName)
focal_class.full_signature: @Override public Cookie getCookie(String cookieName)
focal_class.identifier: getCookie
focal_class.modifiers: @Override public
focal_class.parameters: (String cookieName)
focal_class.return: Cookie
focal_class.signature: Cookie getCookie(String cookieName)
focal_class.class_method_signature: WrappedHttpServletRequest.getHeader(String name)
focal_class.full_signature: @Override public String getHeader(String name)
focal_class.identifier: getHeader
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getHeader(String name)
focal_class.class_method_signature: WrappedHttpServletRequest.getHeaders(String name)
focal_class.full_signature: @Override public List<String> getHeaders(String name)
focal_class.identifier: getHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: List<String>
focal_class.signature: List<String> getHeaders(String name)
focal_class.class_method_signature: WrappedHttpServletRequest.getInputStream()
focal_class.full_signature: @Override public InputStream getInputStream()
focal_class.identifier: getInputStream
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: InputStream
focal_class.signature: InputStream getInputStream()
focal_class.class_method_signature: WrappedHttpServletRequest.getInputStream(boolean buffered)
focal_class.full_signature: @Override public InputStream getInputStream(boolean buffered)
focal_class.identifier: getInputStream
focal_class.modifiers: @Override public
focal_class.parameters: (boolean buffered)
focal_class.return: InputStream
focal_class.signature: InputStream getInputStream(boolean buffered)
focal_class.class_method_signature: WrappedHttpServletRequest.getRemoteAddr()
focal_class.full_signature: @Override public String getRemoteAddr()
focal_class.identifier: getRemoteAddr
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getRemoteAddr()
focal_class.class_method_signature: WrappedHttpServletRequest.setError(AuthenticationError error)
focal_class.full_signature: @Override public void setError(AuthenticationError error)
focal_class.identifier: setError
focal_class.modifiers: @Override public
focal_class.parameters: (AuthenticationError error)
focal_class.return: void
focal_class.signature: void setError(AuthenticationError error)
focal_class.class_method_signature: WrappedHttpServletRequest.setError(LogoutError error)
focal_class.full_signature: @Override public void setError(LogoutError error)
focal_class.identifier: setError
focal_class.modifiers: @Override public
focal_class.parameters: (LogoutError error)
focal_class.return: void
focal_class.signature: void setError(LogoutError error)
focal_method.body: @Override
      public Cookie getCookie(String cookieName) {
  
          javax.servlet.http.Cookie[] cookies = request.getCookies();
  
          if (cookies == null) {
              return null;
          }
  
          for (javax.servlet.http.Cookie cookie : request.getCookies()) {
              if (cookie.getName().equals(cookieName)) {
                  return new Cookie(cookie.getName(), cookie.getValue(), cookie.getVersion(), cookie.getDomain(), cookie.getPath());
              }
          }
  
          return null;
      }
focal_method.class_method_signature: WrappedHttpServletRequest.getCookie(String cookieName)
focal_method.full_signature: @Override public Cookie getCookie(String cookieName)
focal_method.identifier: getCookie
focal_method.invocations: getCookies getCookies equals getName getName getValue getVersion getDomain getPath
focal_method.modifiers: @Override public
focal_method.parameters: (String cookieName)
focal_method.return: Cookie
focal_method.signature: Cookie getCookie(String cookieName)