@Override
	public String getLayerContribution(HttpServletRequest request,
			LayerContributionType type, Object arg) {
		final String sourceMethod = "getLayerContribution"; //$NON-NLS-1$
		boolean isTraceLogging = log.isLoggable(Level.FINER);
		if (isTraceLogging) {
			log.entering(sourceClass, sourceMethod, new Object[]{request, type, arg});
		}
		String result = ""; //$NON-NLS-1$
		if (type == LayerContributionType.END_RESPONSE) {
			if (TypeUtil.asBoolean(request.getAttribute(WARN_DEPRECATED_USE_OF_MODULES_QUERYARG))) {
				result += MessageFormat.format(CONSOLE_WARNING_MSG_FMT,
						new Object[]{
							Messages.AbstractHttpTransport_2
						}
				);
			}
			if (TypeUtil.asBoolean(request.getAttribute(WARN_DEPRECATED_USE_OF_REQUIRED_QUERYARG))) {
				result += MessageFormat.format(CONSOLE_WARNING_MSG_FMT,
						new Object[]{
							Messages.AbstractHttpTransport_3
						}
				);
			}

		}
		if (isTraceLogging) {
			log.exiting(sourceClass, sourceMethod, result);
		}
		return result;
	}
@ Override public String getLayerContribution ( HttpServletRequest request , LayerContributionType type , Object arg ) { final String sourceMethod = "getLayerContribution" ; boolean isTraceLogging = log . isLoggable ( Level . FINER ) ; if ( isTraceLogging ) { log . entering ( sourceClass , sourceMethod , new Object [ ] { request , type , arg } ) ; } String result = "" ; if ( type == LayerContributionType . END_RESPONSE ) { if ( TypeUtil . asBoolean ( request . getAttribute ( WARN_DEPRECATED_USE_OF_MODULES_QUERYARG ) ) ) { result += MessageFormat . format ( CONSOLE_WARNING_MSG_FMT , new Object [ ] { Messages . AbstractHttpTransport_2 } ) ; } if ( TypeUtil . asBoolean ( request . getAttribute ( WARN_DEPRECATED_USE_OF_REQUIRED_QUERYARG ) ) ) { result += MessageFormat . format ( CONSOLE_WARNING_MSG_FMT , new Object [ ] { Messages . AbstractHttpTransport_3 } ) ; } } if ( isTraceLogging ) { log . exiting ( sourceClass , sourceMethod , result ) ; } return result ; }
/* (non-Javadoc)
@see com.ibm.jaggr.service.transport.IHttpTransport#getLayerContribution(javax.servlet.http.HttpServletRequest, com.ibm.jaggr.service.transport.IHttpTransport.LayerContributionType, java.lang.String)