}
private String unauthorized(ActionInvocation invocation, String reason) throws IOException {
ActionProxy proxy = invocation.getProxy();
ResponseBean response = new ResponseBean(1, ResponseCodes.RESPONSE_UNAUTHORIZED, reason, null);
DefaultHttpHeaders methodResult = new DefaultHttpHeaders().withStatus(response.getCode());
return _handlerSelector.handleResult(proxy.getConfig(), methodResult, response);
}