Interface ServletBinder

All Known Implementing Classes:
RegexPipeline.Binder, ServletBinderImpl, SuffixPipeline.Binder

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

    Modifier and Type
    Method
    Description
    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 Details

    • 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.