Exemple #1
0
    @Override
    public void execute() throws Exception {
      if (!ctx.getChannel().isConnected()) {
        try {
          ctx.getChannel().close();
        } catch (Throwable e) {
          // Ignore
        }
        return;
      }

      // Check the exceeded size before re rendering so we can render the error if the size is
      // exceeded
      saveExceededSizeError(nettyRequest, request, response);
      ActionInvoker.invoke(request, response);
    }
Exemple #2
0
 @Override
 public void execute() throws Exception {
   ActionInvoker.invoke(request, response);
   copyResponse(request, response, httpServletRequest, httpServletResponse);
 }