code: public static OperationBuilder setStatus(final int status)
     {
        return new HttpOperation()
        {
           @Override
           public void performHttp(final HttpServletRewrite event, final EvaluationContext context)
           {
              event.getResponse().setStatus(status);
           }
  
           @Override
           public String toString()
           {
              return "Response.setStatus(" + status + ")";
           }
        };
  
     }
docs: Create an {@link Operation} that sets the given status code via {@link HttpServletResponse#setStatus(int)}. This
  does not call {@link HttpServletResponse#flushBuffer()}