public class BizInterceptor extends Object implements sirius.web.controller.Interceptor
Constructor and Description |
---|
BizInterceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
before(sirius.web.http.WebContext ctx,
boolean jsonCall,
sirius.web.controller.Controller controller,
Method method) |
boolean |
beforePermissionError(String permission,
sirius.web.http.WebContext ctx,
boolean jsonCall,
sirius.web.controller.Controller controller,
Method method) |
boolean |
shouldExecuteRoute(sirius.web.http.WebContext ctx,
boolean jsonCall,
sirius.web.controller.Controller controller) |
public boolean before(sirius.web.http.WebContext ctx, boolean jsonCall, sirius.web.controller.Controller controller, Method method) throws Exception
before
in interface sirius.web.controller.Interceptor
Exception
public boolean beforePermissionError(String permission, sirius.web.http.WebContext ctx, boolean jsonCall, sirius.web.controller.Controller controller, Method method) throws Exception
beforePermissionError
in interface sirius.web.controller.Interceptor
Exception
public boolean shouldExecuteRoute(sirius.web.http.WebContext ctx, boolean jsonCall, sirius.web.controller.Controller controller)
shouldExecuteRoute
in interface sirius.web.controller.Interceptor
Copyright © 2018. All rights reserved.