Class NanoPiranha

java.lang.Object
cloud.piranha.nano.NanoPiranha

public class NanoPiranha extends Object
The smallest version of Piranha in our lineup.
Author:
Manfred Riem ([email protected])
See Also:
cloud.piranha.webapp.api
  • Constructor Details

    • NanoPiranha

      public NanoPiranha()
      Constructor.
  • Method Details

    • addFilter

      public void addFilter(Filter filter)
      Add a filter.
      Parameters:
      filter - the filter.
    • getFilters

      public List<Filter> getFilters()
      Returns the filters.
      Returns:
      the filters
    • getServlet

      public Servlet getServlet()
      Returns the servlet.
      Returns:
      the servlet
    • getWebApplication

      public WebApplication getWebApplication()
      Returns the web application.
      Returns:
      the web application
    • service

      public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws IOException, ServletException
      Service.
      Parameters:
      servletRequest - the request.
      servletResponse - the response.
      Throws:
      IOException - when an I/O error occurs.
      ServletException - when a Servlet error occurs.
    • setServlet

      public void setServlet(Servlet servlet)
      Set the servlet.
      Parameters:
      servlet - the servlet.
    • setWebApplication

      public void setWebApplication(WebApplication webApplication)
      Set the web application.
      Parameters:
      webApplication - the web application.