code: public static boolean isPostPutPatch(HttpServerExchange exchange) {
          Objects.requireNonNull(exchange, Required.HTTP_SERVER_EXCHANGE.toString());
  
          return (Methods.POST).equals(exchange.getRequestMethod()) || (Methods.PUT).equals(exchange.getRequestMethod()) || (Methods.PATCH).equals(exchange.getRequestMethod());
      }
docs: Checks if the request is a POST, PUT or PATCH request
  
  @param exchange The Undertow HttpServerExchange
  @return True if the request is a POST, PUT or PATCH request, false otherwise