Interface ServletBinder


public interface ServletBinder
Binds a servlet to a URL.
  • Method Summary

    Modifier and Type
    Method
    Description
    through(jakarta.servlet.Filter filter)
    Set the filter to trigger while processing the path.
    void
    with(jakarta.servlet.http.HttpServlet servlet)
    Set the servlet to execute on this path
  • Method Details

    • through

      ServletBinder through(jakarta.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(jakarta.servlet.http.HttpServlet servlet)
      Set the servlet to execute on this path
      Parameters:
      servlet - the servlet to execute on this path.