/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for POST Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> post(String uri) { return http(uri, null, HttpMethod.POST); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for DELETE Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> delete(String uri) { return http(uri, null, HttpMethod.DELETE); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for PUT Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> put(String uri) { return http(uri, null, HttpMethod.PUT); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for DELETE Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> delete(String uri) { return http(uri, null, HttpMethod.DELETE); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for OPTIONS Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> options(String uri) { return http(uri, null, HttpMethod.OPTIONS); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for GET Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> get(String uri) { return http(uri, null, HttpMethod.GET); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for HEAD Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> head(String uri) { return http(uri, null, HttpMethod.HEAD); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for OPTIONS Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> options(String uri) { return http(uri, null, HttpMethod.OPTIONS); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for POST Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> post(String uri) { return http(uri, null, HttpMethod.POST); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for GET Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> get(String uri) { return http(uri, null, HttpMethod.GET); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for HEAD Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> head(String uri) { return http(uri, null, HttpMethod.HEAD); }
/** * An alias for {@link HttpPredicate#http}. * <p> * Creates a {@link Predicate} based on a URI template filtering . * <p> * This will listen for PUT Method. * * @param uri The string to compile into a URI template and use for matching * * @return The new {@link Predicate}. * * @see Predicate */ public static Predicate<HttpServerRequest> put(String uri) { return http(uri, null, HttpMethod.PUT); }