@Beta public abstract class BaseWebHandler extends Object implements WebHandler
MAX_ORDER, MIN_ORDER
Constructor and Description |
---|
BaseWebHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
canHandle(javax.servlet.http.HttpServletRequest req) |
protected abstract void |
doHandle(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
WebHandlerChain chain) |
int |
getOrder() |
void |
handle(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
WebHandlerChain chain) |
void |
setOrder(int order) |
public final int getOrder()
getOrder
in interface WebHandler
public final void setOrder(int order)
protected abstract boolean canHandle(javax.servlet.http.HttpServletRequest req)
protected abstract void doHandle(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, WebHandlerChain chain) throws Exception
Exception
public void handle(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, WebHandlerChain chain) throws Exception
handle
in interface WebHandler
Exception