private boolean isAcceptedMethod(String method){
  for (  String allowed : ALLOWED_METHODS) {
    if (allowed.equals(method)) {
      return true;
    }
  }
  return false;
}

private boolean isAcceptedMethod ( String method ) { for ( String allowed : ALLOWED_METHODS ) { if ( allowed . equals ( method ) ) { return true ; } } return false ; }
checks whether or not the method may be called within the parameter storage algorithm .
