Module io.avaje.jex

Interface SpiRoutes


public interface SpiRoutes
Route matching and filter handling.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A route entry.
    static class 
    Path and splat/wildcard parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    after​(String pathInfo, SpiContext ctx)
    Execute all appropriate after filters for the given request URI.
    void
    before​(String pathInfo, SpiContext ctx)
    Execute all appropriate before filters for the given request URI.
    match​(Routing.Type type, String pathInfo)
    Find the matching handler entry given the type and request URI.
  • Method Details

    • match

      SpiRoutes.Entry match(Routing.Type type, String pathInfo)
      Find the matching handler entry given the type and request URI.
    • before

      void before(String pathInfo, SpiContext ctx)
      Execute all appropriate before filters for the given request URI.
    • after

      void after(String pathInfo, SpiContext ctx)
      Execute all appropriate after filters for the given request URI.