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

io.katharsis.queryspec.QuerySpecConverter Maven / Gradle / Ivy

There is a newer version: 2.6.3
Show newest version
package io.katharsis.queryspec;

import io.katharsis.queryParams.QueryParams;

/**
 * Converts QueryParams to QuerySpec to ease parameter handling.
 */
public interface QuerySpecConverter {

	/**
	 * 
	 * @param rootType
	 *            type of the root resources being requested
	 * @param params
	 *            the QueryParams to be converted
	 * @return QuerySpec
	 */
	public QuerySpec fromParams(Class rootType, QueryParams params);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy