test_class.declarator: COOKIE_DOMAIN = ".keycloak.org"
test_class.modifier: private static final
test_class.original_string: private static final String COOKIE_DOMAIN = ".keycloak.org";
test_class.type: String
test_class.var_name: COOKIE_DOMAIN
test_class.declarator: COOKIE_NAME = "foo"
test_class.modifier: private static final
test_class.original_string: private static final String COOKIE_NAME = "foo";
test_class.type: String
test_class.var_name: COOKIE_NAME
test_class.declarator: COOKIE_PATH = "/bar"
test_class.modifier: private static final
test_class.original_string: private static final String COOKIE_PATH = "/bar";
test_class.type: String
test_class.var_name: COOKIE_PATH
test_class.declarator: COOKIE_VALUE = "onegreatcookie"
test_class.modifier: private static final
test_class.original_string: private static final String COOKIE_VALUE = "onegreatcookie";
test_class.type: String
test_class.var_name: COOKIE_VALUE
test_class.declarator: HEADER = "Test"
test_class.modifier: private static final
test_class.original_string: private static final String HEADER = "Test";
test_class.type: String
test_class.var_name: HEADER
test_class.declarator: response
test_class.modifier: private
test_class.original_string: private WrappedHttpServletResponse response;
test_class.type: WrappedHttpServletResponse
test_class.var_name: response
test_class.declarator: mockResponse
test_class.modifier: private
test_class.original_string: private MockHttpServletResponse mockResponse;
test_class.type: MockHttpServletResponse
test_class.var_name: mockResponse
test_class.file: adapters/oidc/spring-security/src/test/java/org/keycloak/adapters/springsecurity/facade/WrappedHttpServletResponseTest.java
test_class.identifier: WrappedHttpServletResponseTest
test_case.body: @Test
      public void testGetOutputStream() throws Exception {
          assertNotNull(response.getOutputStream());
          verify(mockResponse).getOutputStream();
      }
test_case.class_method_signature: WrappedHttpServletResponseTest.testGetOutputStream()
test_case.full_signature: @Test public void testGetOutputStream()
test_case.identifier: testGetOutputStream
test_case.invocations: assertNotNull getOutputStream getOutputStream verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetOutputStream()
focal_class.declarator: log = LoggerFactory.getLogger(WrappedHttpServletResponse.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(WrappedHttpServletResponse.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: response
focal_class.modifier: private final
focal_class.original_string: private final HttpServletResponse response;
focal_class.type: HttpServletResponse
focal_class.var_name: response
focal_class.file: adapters/oidc/spring-security/src/main/java/org/keycloak/adapters/springsecurity/facade/WrappedHttpServletResponse.java
focal_class.identifier: WrappedHttpServletResponse
focal_class.interfaces: implements Response
focal_class.class_method_signature: WrappedHttpServletResponse.WrappedHttpServletResponse(HttpServletResponse response)
focal_class.full_signature: public  WrappedHttpServletResponse(HttpServletResponse response)
focal_class.identifier: WrappedHttpServletResponse
focal_class.modifiers: public
focal_class.parameters: (HttpServletResponse response)
focal_class.signature:  WrappedHttpServletResponse(HttpServletResponse response)
focal_class.class_method_signature: WrappedHttpServletResponse.resetCookie(String name, String path)
focal_class.full_signature: @Override public void resetCookie(String name, String path)
focal_class.identifier: resetCookie
focal_class.modifiers: @Override public
focal_class.parameters: (String name, String path)
focal_class.return: void
focal_class.signature: void resetCookie(String name, String path)
focal_class.class_method_signature: WrappedHttpServletResponse.setCookie(String name, String value, String path, String domain, int maxAge, boolean secure, boolean httpOnly)
focal_class.full_signature: @Override public void setCookie(String name, String value, String path, String domain, int maxAge, boolean secure, boolean httpOnly)
focal_class.identifier: setCookie
focal_class.modifiers: @Override public
focal_class.parameters: (String name, String value, String path, String domain, int maxAge, boolean secure, boolean httpOnly)
focal_class.return: void
focal_class.signature: void setCookie(String name, String value, String path, String domain, int maxAge, boolean secure, boolean httpOnly)
focal_class.class_method_signature: WrappedHttpServletResponse.setHttpOnly(Cookie cookie, boolean httpOnly)
focal_class.full_signature: private void setHttpOnly(Cookie cookie, boolean httpOnly)
focal_class.identifier: setHttpOnly
focal_class.modifiers: private
focal_class.parameters: (Cookie cookie, boolean httpOnly)
focal_class.return: void
focal_class.signature: void setHttpOnly(Cookie cookie, boolean httpOnly)
focal_class.class_method_signature: WrappedHttpServletResponse.setStatus(int status)
focal_class.full_signature: @Override public void setStatus(int status)
focal_class.identifier: setStatus
focal_class.modifiers: @Override public
focal_class.parameters: (int status)
focal_class.return: void
focal_class.signature: void setStatus(int status)
focal_class.class_method_signature: WrappedHttpServletResponse.addHeader(String name, String value)
focal_class.full_signature: @Override public void addHeader(String name, String value)
focal_class.identifier: addHeader
focal_class.modifiers: @Override public
focal_class.parameters: (String name, String value)
focal_class.return: void
focal_class.signature: void addHeader(String name, String value)
focal_class.class_method_signature: WrappedHttpServletResponse.setHeader(String name, String value)
focal_class.full_signature: @Override public void setHeader(String name, String value)
focal_class.identifier: setHeader
focal_class.modifiers: @Override public
focal_class.parameters: (String name, String value)
focal_class.return: void
focal_class.signature: void setHeader(String name, String value)
focal_class.class_method_signature: WrappedHttpServletResponse.getOutputStream()
focal_class.full_signature: @Override public OutputStream getOutputStream()
focal_class.identifier: getOutputStream
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: OutputStream
focal_class.signature: OutputStream getOutputStream()
focal_class.class_method_signature: WrappedHttpServletResponse.sendError(int code)
focal_class.full_signature: @Override public void sendError(int code)
focal_class.identifier: sendError
focal_class.modifiers: @Override public
focal_class.parameters: (int code)
focal_class.return: void
focal_class.signature: void sendError(int code)
focal_class.class_method_signature: WrappedHttpServletResponse.sendError(int code, String message)
focal_class.full_signature: @Override public void sendError(int code, String message)
focal_class.identifier: sendError
focal_class.modifiers: @Override public
focal_class.parameters: (int code, String message)
focal_class.return: void
focal_class.signature: void sendError(int code, String message)
focal_class.class_method_signature: WrappedHttpServletResponse.end()
focal_class.full_signature: @Override public void end()
focal_class.identifier: end
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void end()
focal_method.body: @Override
      public OutputStream getOutputStream() {
          try {
              return response.getOutputStream();
          } catch (IOException e) {
              throw new RuntimeException("Unable to return response output stream", e);
          }
      }
focal_method.class_method_signature: WrappedHttpServletResponse.getOutputStream()
focal_method.full_signature: @Override public OutputStream getOutputStream()
focal_method.identifier: getOutputStream
focal_method.invocations: getOutputStream
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: OutputStream
focal_method.signature: OutputStream getOutputStream()