Set<RequestParameter> expectedParams = fExpectedParams.get(aAction.getClass());
for (RequestParameter reqParam : expectedParams){
if ( "Operation".equals(reqParam.getName()) ){
String rawValue = aRequestParser.getRawParamValue(reqParam);
if (Util.textHasContent(rawValue)){
Operation operation = Operation.valueOf(rawValue);
if ( isAttemptingSideEffectOperationWithoutPOST(operation, aRequestParser) ){
fLogger.severe("Security problem. Attempted operation having side effects outside of a POST. Please use a <FORM> with method='POST'.");
throw new BadRequestException(HttpServletResponse.SC_BAD_REQUEST);
}
}