public static OperationBuilder setStatus(final int status) {
    """
	Create an {@link Operation} that sets the given status code via {@link HttpServletResponse#setStatus(int)}. This
	does not call {@link HttpServletResponse#flushBuffer()}
    """
      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 + ")";
         }
      };

   }
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 + ")";
         }
      };

   }
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 + ")" ; } } ; }
Create an {@link Operation} that sets the given status code via {@link HttpServletResponse#setStatus(int)}. This
does not call {@link HttpServletResponse#flushBuffer()}
Create an {