Interface ServletBinder
-
public interface ServletBinder
Binds a servlet to a URL.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServletBinder
through(javax.servlet.Filter filter)
Set the filter to trigger while processing the path.void
with(javax.servlet.http.HttpServlet servlet)
Set the servlet to execute on this path
-
-
-
Method Detail
-
through
ServletBinder through(javax.servlet.Filter filter)
Set the filter to trigger while processing the path.- Parameters:
filter
- the filter to trigger while processing the path.- Returns:
this
.
-
with
void with(javax.servlet.http.HttpServlet servlet)
Set the servlet to execute on this path- Parameters:
servlet
- the servlet to execute on this path.
-
-