java.lang.Object
cloud.piranha.nano.NanoPiranha
The smallest version of Piranha in our lineup.
- Author:
- Manfred Riem ([email protected])
- See Also:
cloud.piranha.webapp.api
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a filter.Returns the filters.Returns the servlet.Returns the web application.void
service(ServletRequest servletRequest, ServletResponse servletResponse)
Service.void
setServlet(Servlet servlet)
Set the servlet.void
setWebApplication(WebApplication webApplication)
Set the web application.
-
Constructor Details
-
NanoPiranha
public NanoPiranha()Constructor.
-
-
Method Details
-
addFilter
Add a filter.- Parameters:
filter
- the filter.
-
getFilters
Returns the filters.- Returns:
- the filters
-
getServlet
Returns the servlet.- Returns:
- the servlet
-
getWebApplication
Returns the web application.- Returns:
- the web application
-
service
public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws IOException, ServletExceptionService.- Parameters:
servletRequest
- the request.servletResponse
- the response.- Throws:
IOException
- when an I/O error occurs.ServletException
- when a Servlet error occurs.
-
setServlet
Set the servlet.- Parameters:
servlet
- the servlet.
-
setWebApplication
Set the web application.- Parameters:
webApplication
- the web application.
-