/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is GET */ public static Method isGet() { return new Method(HttpMethod.GET) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is TRACE */ public static Method isTrace() { return new Method(HttpMethod.TRACE) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is PUT */ public static Method isPut() { return new Method(HttpMethod.PUT) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is PUT */ public static Method isPut() { return new Method(HttpMethod.PUT) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is GET */ public static Method isGet() { return new Method(HttpMethod.GET) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is POST */ public static Method isPost() { return new Method(HttpMethod.POST) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is HEAD */ public static Method isHead() { return new Method(HttpMethod.HEAD) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is OPTIONS */ public static Method isOptions() { return new Method(HttpMethod.OPTIONS) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is POST */ public static Method isPost() { return new Method(HttpMethod.POST) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is OPTIONS */ public static Method isOptions() { return new Method(HttpMethod.OPTIONS) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is DELETE */ public static Method isDelete() { return new Method(HttpMethod.DELETE) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is POST */ public static Method isPost() { return new Method(HttpMethod.POST) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is HEAD */ public static Method isHead() { return new Method(HttpMethod.HEAD) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is OPTIONS */ public static Method isOptions() { return new Method(HttpMethod.OPTIONS) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is DELETE */ public static Method isDelete() { return new Method(HttpMethod.DELETE) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is TRACE */ public static Method isTrace() { return new Method(HttpMethod.TRACE) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is HEAD */ public static Method isHead() { return new Method(HttpMethod.HEAD) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is DELETE */ public static Method isDelete() { return new Method(HttpMethod.DELETE) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is TRACE */ public static Method isTrace() { return new Method(HttpMethod.TRACE) {}; }
/** * Create a {@link Method} condition that ensures the current {@link HttpServletRequest#getMethod()} is GET */ public static Method isGet() { return new Method(HttpMethod.GET) {}; }