@ Override public boolean parseAndValidateRequest ( ) { if ( ! super . parseAndValidateRequest ( ) ) { return false ; } isGetVersionRequest = hasGetVersionRequestHeader ( ) ; if ( isGetVersionRequest && this . parsedKeys . size ( ) > 1 ) { RestErrorHandler . writeErrorResponse ( messageEvent , HttpResponseStatus . BAD_REQUEST , "Get version request cannot have multiple keys" ) ; return false ; } return true ; }
Validations specific to GET and GET ALL