public interface Router
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
Dispatches to an appropriate
Route. |
boolean |
hasRouteFor(javax.servlet.http.HttpServletRequest httpServletRequest)
|
boolean hasRouteFor(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest - the HttpServletRequest.true if this Router has a Route for the HttpServletRequest, otherwise false.void dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
throws javax.servlet.ServletException
Route.request - the HttpServletRequest.response - the HttpServletResponsechain - the FilterChain.javax.servlet.ServletException - if en error occurs while dispatching.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.