Class MicroWebApplication

java.lang.Object
cloud.piranha.webapp.impl.DefaultWebApplication
cloud.piranha.micro.embedded.MicroWebApplication
All Implemented Interfaces:
WebApplication, ServletContext

public class MicroWebApplication extends DefaultWebApplication
A Piranha Micro web application.
Author:
Arjan Tijms
  • Constructor Details

    • MicroWebApplication

      public MicroWebApplication()
  • Method Details

    • getDeployedApplication

      public Consumer<Map<String,​Object>> getDeployedApplication()
      Returns the deployed application.
      Returns:
      the deployed application
    • setDeployedApplication

      public void setDeployedApplication(Consumer<Map<String,​Object>> deployedApplication)
      Set the deployed application.
      Parameters:
      deployedApplication - the deployed application.
    • service

      public void service(ServletRequest request, ServletResponse response)
      Service the request.
      Specified by:
      service in interface WebApplication
      Overrides:
      service in class DefaultWebApplication
      Parameters:
      request - the request.
      response - the resposne.