static ThrottledRequestFilter httpPost() {
        return (request, response) -> HttpMethod.POST.name().equals(request.getMethod());
    }
Filer that only supports POST requests.

@return the throttled request filter
core/cas-server-core-authentication-throttle/src/main/java/org/apereo/cas/throttle/ThrottledRequestFilter.java