io.katharsis.queryspec.QuerySpecConverter Maven / Gradle / Ivy
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