src/org/ohmage/request/survey/SurveyResponseFunctionReadRequest.java
@Override
	public void respond(HttpServletRequest httpRequest, HttpServletResponse httpResponse) {
		LOGGER.info("Responding to the survey response function read request.");
		
		if(isFailed()) {
			super.respond(httpRequest, httpResponse, (JSONObject) null);
			return;
		}

		switch(functionId) {
		case PRIVACY_STATE:
			functionResponsePrivacyState(httpRequest, httpResponse);
			break;
		}
	}
/**
	 * Respond to the request based on the function ID.
	 */
Respond to the request based on the function ID.
Respond to the request based on the function ID .
@Override
	public void respond(HttpServletRequest httpRequest, HttpServletResponse httpResponse) {
		LOGGER.info("Responding to the survey response function read request.");
		if(isFailed()) {
			super.respond(httpRequest, httpResponse, (JSONObject) null);
			return;
		}
		switch(functionId) {
		case PRIVACY_STATE:
			functionResponsePrivacyState(httpRequest, httpResponse);
			break;
		}
	}
@ Override public void respond ( HttpServletRequest httpRequest , HttpServletResponse httpResponse ) { LOGGER . info ( "Responding to the survey response function read request." ) ; if ( isFailed ( ) ) { super . respond ( httpRequest , httpResponse , ( JSONObject ) null ) ; return ; } switch ( functionId ) { case PRIVACY_STATE : functionResponsePrivacyState ( httpRequest , httpResponse ) ; break ; } }
Respond to the request based on the function ID.
Respond to the request based on the function ID .