Class NanoPiranha

  • All Implemented Interfaces:
    Piranha

    public class NanoPiranha
    extends Object
    implements Piranha
    The smallest version of Piranha in our lineup.
    Author:
    Manfred Riem (mriem@manorrock.com)
    See Also:
    cloud.piranha.webapp.api
    • Constructor Detail

      • NanoPiranha

        public NanoPiranha()
        Constructor.
    • Method Detail

      • addFilter

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

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

        public Servlet getServlet()
        Get the servlet.
        Returns:
        the servlet.
      • getVersion

        public String getVersion()
        Get the version.
        Specified by:
        getVersion in interface Piranha
        Returns:
        the version.
      • getWebApplication

        public WebApplication getWebApplication()
        Get the web application.
        Returns:
        the web application.
      • 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.