server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpRequestWrapper.java
public int hasParameters(final String... iNames) {
     int found = 0;

     if (iNames != null && request.parameters != null)
       for (String name : iNames)
         found += request.parameters.containsKey(name) ? 1 : 0;

     return found;
   }
public int hasParameters(final String... iNames) {
     int found = 0;

     if (iNames != null && request.parameters != null)
       for (String name : iNames)
         found += request.parameters.containsKey(name) ? 1 : 0;

     return found;
   }
public int hasParameters ( final String ... iNames ) { int found = 0 ; if ( iNames != null && request . parameters != null ) for ( String name : iNames ) found += request . parameters . containsKey ( name ) ? 1 : 0 ; return found ; }
Checks how many parameters have been received.

@return The number of parameters found between the passed ones
Checks how many parameters have been received .