Package org.eclipse.jetty.servlet
Interface ServletHolder.WrapFunction
-
- Enclosing class:
- ServletHolder
@Deprecated(since="2021-05-27") public static interface ServletHolder.WrapFunctionDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Experimental Wrapper mechanism for Servlet objects.Beans in
ServletContextHandlerorWebAppContextthat implement this interface will be called to optionally wrap any newly created Servlets (before theirServlet.init(ServletConfig)method is called)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ServletwrapServlet(Servlet servlet)Deprecated.Optionally wrap the Servlet.
-
-
-
Method Detail
-
wrapServlet
Servlet wrapServlet(Servlet servlet)
Deprecated.Optionally wrap the Servlet.- Parameters:
servlet- the servlet being passed in.- Returns:
- the servlet (extend from
ServletHolder.Wrapperif you do wrap the Servlet)
-
-