This commit is contained in:
imhao183
2021-04-23 08:45:31 +08:00
parent b4fe064807
commit 5028a64fa9
79 changed files with 82 additions and 82 deletions
@@ -53,7 +53,7 @@ abstract public class ActionHandler extends SimpleChannelInboundHandler<FullHttp
Action errorAction = ServerSetting.getErrorAction(ServerSetting.MAPPING_ERROR);
request.putParam(UnknownErrorAction.ERROR_PARAM_NAME, e);
response.setContent(e.toString());
errorAction.doAction(request, response);
errorAction.doAction(request);
//如果发送请求未被触发,则触发之,否则跳过。
if(!response.isSent()){
@@ -136,7 +136,7 @@ abstract public class ActionHandler extends SimpleChannelInboundHandler<FullHttp
action.ctx = ctx;
action.response = response;
boolean isSync = action.doAction(request, response);
boolean isSync = action.doAction(request);
if(isSync) {
//如果发送请求未被触发,则触发之,否则跳过。