All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.bran.play.RenderArgsWrapper Maven / Gradle / Ivy

The newest version!
package cn.bran.play;

import play.mvc.Scope.RenderArgs;

/**
 * wraps the Play! {@Code RenderArgs}
 * @author bran
 *
 */
public class RenderArgsWrapper {
	private RenderArgs r() {
		return RenderArgs.current();
	}
	
	public Object get(String k) {
		return r().get(k);
	}

	public  T get(String k, Class t) {
		return r().get(k, t);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy