containers/hawkular-openshift-security-filter/src/main/java/org/hawkular/openshift/auth/TokenAuthenticator.java
private String getVerb(HttpServerExchange serverExchange) {
        // if its a query type verb, then treat as a GET type call.
        if (isQuery(serverExchange)) {
            return VERBS.get(GET);
        } else {
            String verb = VERBS.get(serverExchange.getRequestMethod());
            if (verb == null) {
                log.debugf("Unhandled http method '%s'. Checking for read access.", serverExchange.getRequestMethod());
                verb = VERBS_DEFAULT;
            }
            return verb;
        }
    }
private String getVerb(HttpServerExchange serverExchange) {
        // if its a query type verb, then treat as a GET type call.
        if (isQuery(serverExchange)) {
            return VERBS.get(GET);
        } else {
            String verb = VERBS.get(serverExchange.getRequestMethod());
            if (verb == null) {
                log.debugf("Unhandled http method '%s'. Checking for read access.", serverExchange.getRequestMethod());
                verb = VERBS_DEFAULT;
            }
            return verb;
        }
    }
private String getVerb ( HttpServerExchange serverExchange ) { // if its a query type verb, then treat as a GET type call. if ( isQuery ( serverExchange ) ) { return VERBS . get ( GET ) ; } else { String verb = VERBS . get ( serverExchange . getRequestMethod ( ) ) ; if ( verb == null ) { log . debugf ( "Unhandled http method '%s'. Checking for read access." , serverExchange . getRequestMethod ( ) ) ; verb = VERBS_DEFAULT ; } return verb ; } }
Determine the verb we should apply based on the HTTP method being requested.

@return the verb to use
Determine the verb we should apply based on the HTTP method being requested .