Ejemplo n.º 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);
    }
Ejemplo n.º 2
0
 @Override
 public void execute() throws Exception {
   ActionInvoker.invoke(request, response);
   copyResponse(request, response, httpServletRequest, httpServletResponse);
 }