fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/websocket/AGenericListMessageHandler.java
public Object doesHandlerQualifyForProcessing(String messageParam){

		JSONObject jsonObject = null;
		try{
			jsonObject = new JSONObject(messageParam);
		}catch (JSONException jsonExcept){
			throw new FluidClientException(
					"Unable to parse ["+messageParam+"]. "+
							jsonExcept.getMessage(),
					jsonExcept, FluidClientException.ErrorCode.JSON_PARSING);
		}

		Error fluidError = new Error(jsonObject);
		if(fluidError.getErrorCode() > 0) {
			return fluidError;
		}

		String echo = fluidError.getEcho();

		//We can process the me
		if(this.expectedEchoMessagesBeforeComplete.contains(echo)){
			return jsonObject;
		}

		return null;
	}
public Object doesHandlerQualifyForProcessing(String messageParam){

		JSONObject jsonObject = null;
		try{
			jsonObject = new JSONObject(messageParam);
		}catch (JSONException jsonExcept){
			throw new FluidClientException(
					"Unable to parse ["+messageParam+"]. "+
							jsonExcept.getMessage(),
					jsonExcept, FluidClientException.ErrorCode.JSON_PARSING);
		}

		Error fluidError = new Error(jsonObject);
		if(fluidError.getErrorCode() > 0) {
			return fluidError;
		}

		String echo = fluidError.getEcho();

		//We can process the me
		if(this.expectedEchoMessagesBeforeComplete.contains(echo)){
			return jsonObject;
		}

		return null;
	}
public Object doesHandlerQualifyForProcessing ( String messageParam ) { JSONObject jsonObject = null ; try { jsonObject = new JSONObject ( messageParam ) ; } catch ( JSONException jsonExcept ) { throw new FluidClientException ( "Unable to parse [" + messageParam + "]. " + jsonExcept . getMessage ( ) , jsonExcept , FluidClientException . ErrorCode . JSON_PARSING ) ; } Error fluidError = new Error ( jsonObject ) ; if ( fluidError . getErrorCode ( ) > 0 ) { return fluidError ; } String echo = fluidError . getEcho ( ) ; //We can process the me if ( this . expectedEchoMessagesBeforeComplete . contains ( echo ) ) { return jsonObject ; } return null ; }
Checks whether {@code this} message handler can process
the message {@code messageParam}

@param messageParam The message to check for qualification.
@return The JSONObject.

@see JSONObject
Checks whether { @code this } message handler can process the message { @code messageParam }