public interface SpiRoutes
Route matching and filter handling.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSpiRoutes.EntryA route entry. -
Method Summary
Modifier and Type Method Description longactiveRequests()Return the active request count.voidafter(String pathInfo, SpiContext ctx)Execute all appropriate after filters for the given request URI.voidbefore(String pathInfo, SpiContext ctx)Execute all appropriate before filters for the given request URI.voiddec()Decrement active request count for no route match.voidinc()Increment active request count for no route match.SpiRoutes.Entrymatch(Routing.Type type, String pathInfo)Find the matching handler entry given the type and request URI.voidwaitForIdle(long maxSeconds)Wait for no active requests.
-
Method Details
-
match
Find the matching handler entry given the type and request URI. -
before
Execute all appropriate before filters for the given request URI. -
after
Execute all appropriate after filters for the given request URI. -
inc
void inc()Increment active request count for no route match. -
dec
void dec()Decrement active request count for no route match. -
activeRequests
long activeRequests()Return the active request count. -
waitForIdle
void waitForIdle(long maxSeconds)Wait for no active requests.
-