Interface PluginJspHandler
-
- All Known Implementing Classes:
PluginJspHandlerImpl
public interface PluginJspHandler
For every plugin we have to register the implementation of that interface to be able to redirect request for .jsp processing to plugin-provided instance of JspServlet. This has to be done because plugin is loaded using newly created class loader. That class loader can not be used for processing jsp by the container.- Author:
- Eugene.Petrenko Date: 18.04.2008 Time: 12:41:16
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy()
TeamCityJSPServlet
getServlet()
PluginServlet
getServletFor(String path)
Returns servlet to process requested jsp using @see{javax.servlet.RequestDispatcher}
-
-
-
Method Detail
-
getServletFor
@Nullable PluginServlet getServletFor(String path) throws javax.servlet.ServletException
Returns servlet to process requested jsp using @see{javax.servlet.RequestDispatcher}- Parameters:
path
-- Returns:
- Servlet to process requested path
- Throws:
javax.servlet.ServletException
-
destroy
void destroy()
-
getServlet
TeamCityJSPServlet getServlet()
-
-