public abstract class BaseController<T> extends Object
Constructor and Description |
---|
BaseController() |
Modifier and Type | Method and Description |
---|---|
String |
authorizationException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
initBinder(org.springframework.web.bind.WebDataBinder binder) |
@InitBinder protected void initBinder(org.springframework.web.bind.WebDataBinder binder)
@ExceptionHandler(value={org.apache.shiro.authz.UnauthorizedException.class,org.apache.shiro.authz.AuthorizationException.class}) public String authorizationException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Copyright © 2019. All rights reserved.