test_class.file: embedded/src/test/java/cloud/piranha/embedded/EmbeddedPiranhaTest.java
test_class.identifier: EmbeddedPiranhaTest
test_case.body: @Test
      void testService() throws Exception {
          EmbeddedRequest request = new EmbeddedRequest();
          EmbeddedResponse response = new EmbeddedResponse();
          EmbeddedPiranha piranha = new EmbeddedPiranha();
          piranha.initialize();
          piranha.start();
          piranha.service(request, response);
          piranha.stop();
      }
test_case.class_method_signature: EmbeddedPiranhaTest.testService()
test_case.full_signature: @Test void testService()
test_case.identifier: testService
test_case.invocations: initialize start service stop
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void testService()
focal_class.declarator: webApplication
focal_class.modifier: private final
focal_class.original_string: private final DefaultWebApplication webApplication;
focal_class.type: DefaultWebApplication
focal_class.var_name: webApplication
focal_class.file: embedded/src/main/java/cloud/piranha/embedded/EmbeddedPiranha.java
focal_class.identifier: EmbeddedPiranha
focal_class.interfaces: implements Piranha
focal_class.class_method_signature: EmbeddedPiranha.EmbeddedPiranha()
focal_class.full_signature: public  EmbeddedPiranha()
focal_class.identifier: EmbeddedPiranha
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  EmbeddedPiranha()
focal_class.class_method_signature: EmbeddedPiranha.destroy()
focal_class.full_signature: public EmbeddedPiranha destroy()
focal_class.identifier: destroy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EmbeddedPiranha
focal_class.signature: EmbeddedPiranha destroy()
focal_class.class_method_signature: EmbeddedPiranha.getVersion()
focal_class.full_signature: @Override public String getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getVersion()
focal_class.class_method_signature: EmbeddedPiranha.getWebApplication()
focal_class.full_signature: public WebApplication getWebApplication()
focal_class.identifier: getWebApplication
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: WebApplication
focal_class.signature: WebApplication getWebApplication()
focal_class.class_method_signature: EmbeddedPiranha.initialize()
focal_class.full_signature: public EmbeddedPiranha initialize()
focal_class.identifier: initialize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EmbeddedPiranha
focal_class.signature: EmbeddedPiranha initialize()
focal_class.class_method_signature: EmbeddedPiranha.service(ServletRequest servletRequest, ServletResponse servletResponse)
focal_class.full_signature: public void service(ServletRequest servletRequest, ServletResponse servletResponse)
focal_class.identifier: service
focal_class.modifiers: public
focal_class.parameters: (ServletRequest servletRequest, ServletResponse servletResponse)
focal_class.return: void
focal_class.signature: void service(ServletRequest servletRequest, ServletResponse servletResponse)
focal_class.class_method_signature: EmbeddedPiranha.start()
focal_class.full_signature: public EmbeddedPiranha start()
focal_class.identifier: start
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EmbeddedPiranha
focal_class.signature: EmbeddedPiranha start()
focal_class.class_method_signature: EmbeddedPiranha.stop()
focal_class.full_signature: public EmbeddedPiranha stop()
focal_class.identifier: stop
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EmbeddedPiranha
focal_class.signature: EmbeddedPiranha stop()
focal_method.body: public void service(ServletRequest servletRequest, ServletResponse servletResponse)
              throws IOException, ServletException {
          if (servletRequest.getServletContext() == null
                  && servletRequest instanceof EmbeddedRequest) {
              EmbeddedRequest embeddedRequest = (EmbeddedRequest) servletRequest;
              embeddedRequest.setWebApplication(webApplication);
          }
          if (servletResponse instanceof EmbeddedResponse) {
              EmbeddedResponse embeddedResponse = (EmbeddedResponse) servletResponse;
              embeddedResponse.setWebApplication(webApplication);
          }
          webApplication.linkRequestAndResponse(servletRequest, servletResponse);
          webApplication.service(servletRequest, servletResponse);
          webApplication.unlinkRequestAndResponse(servletRequest, servletResponse);
      }
focal_method.class_method_signature: EmbeddedPiranha.service(ServletRequest servletRequest, ServletResponse servletResponse)
focal_method.full_signature: public void service(ServletRequest servletRequest, ServletResponse servletResponse)
focal_method.identifier: service
focal_method.invocations: getServletContext setWebApplication setWebApplication linkRequestAndResponse service unlinkRequestAndResponse
focal_method.modifiers: public
focal_method.parameters: (ServletRequest servletRequest, ServletResponse servletResponse)
focal_method.return: void
focal_method.signature: void service(ServletRequest servletRequest, ServletResponse servletResponse)