Use this API to fetch filtered set of cacheforwardproxy resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
330605
public static cacheforwardproxy[] get_filtered(nitro_service service, String filter) throws Exception{
		cacheforwardproxy obj = new cacheforwardproxy();
		options option = new options();
		option.set_filter(filter);
		cacheforwardproxy[] response = (cacheforwardproxy[]) obj.getfiltered(service, option);
		return response;
	}
654256
private HttpPrefixFetchFilter getUriPrefixFecthFilter(Object[] customConfigurations) {
		if (customConfigurations != null) {
			for (Object customConfiguration : customConfigurations) {
				if (customConfiguration instanceof HttpPrefixFetchFilter) {
					return (HttpPrefixFetchFilter) customConfiguration;
				}
			}
		}
		return null;
	}
762145
public static tmtrafficaction[] get_filtered(nitro_service service, String filter) throws Exception{
		tmtrafficaction obj = new tmtrafficaction();
		options option = new options();
		option.set_filter(filter);
		tmtrafficaction[] response = (tmtrafficaction[]) obj.getfiltered(service, option);
		return response;
	}
927525
public static ssl_key[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ssl_key obj = new ssl_key();
		options option = new options();
		option.set_filter(filter);
		ssl_key[] response = (ssl_key[]) obj.getfiltered(service, option);
		return response;
	}
209150
public static xen_hotfix[] get_filtered(nitro_service service, String filter) throws Exception
	{
		xen_hotfix obj = new xen_hotfix();
		options option = new options();
		option.set_filter(filter);
		xen_hotfix[] response = (xen_hotfix[]) obj.getfiltered(service, option);
		return response;
	}
49682
public static appfwconfidfield[] get_filtered(nitro_service service, String filter) throws Exception{
		appfwconfidfield obj = new appfwconfidfield();
		options option = new options();
		option.set_filter(filter);
		appfwconfidfield[] response = (appfwconfidfield[]) obj.getfiltered(service, option);
		return response;
	}
282582
public static route[] get_filtered(nitro_service service, String filter) throws Exception{
		route obj = new route();
		options option = new options();
		option.set_filter(filter);
		route[] response = (route[]) obj.getfiltered(service, option);
		return response;
	}
919783
public static dnsview[] get_filtered(nitro_service service, String filter) throws Exception{
		dnsview obj = new dnsview();
		options option = new options();
		option.set_filter(filter);
		dnsview[] response = (dnsview[]) obj.getfiltered(service, option);
		return response;
	}
170662
public static appqoepolicy[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
		appqoepolicy obj = new appqoepolicy();
		options option = new options();
		option.set_filter(filter);
		appqoepolicy[] response = (appqoepolicy[]) obj.getfiltered(service, option);
		return response;
	}
1351299
public static server[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
		server obj = new server();
		options option = new options();
		option.set_filter(filter);
		server[] response = (server[]) obj.getfiltered(service, option);
		return response;
	}
172971
public static ns_vlan[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ns_vlan obj = new ns_vlan();
		options option = new options();
		option.set_filter(filter);
		ns_vlan[] response = (ns_vlan[]) obj.getfiltered(service, option);
		return response;
	}
542752
public static dnssuffix[] get_filtered(nitro_service service, String filter) throws Exception{
		dnssuffix obj = new dnssuffix();
		options option = new options();
		option.set_filter(filter);
		dnssuffix[] response = (dnssuffix[]) obj.getfiltered(service, option);
		return response;
	}
349311
public static dnsaction[] get_filtered(nitro_service service, String filter) throws Exception{
		dnsaction obj = new dnsaction();
		options option = new options();
		option.set_filter(filter);
		dnsaction[] response = (dnsaction[]) obj.getfiltered(service, option);
		return response;
	}
615656
public static sslwrapkey[] get_filtered(nitro_service service, String filter) throws Exception{
		sslwrapkey obj = new sslwrapkey();
		options option = new options();
		option.set_filter(filter);
		sslwrapkey[] response = (sslwrapkey[]) obj.getfiltered(service, option);
		return response;
	}
1061938
public static current_hostname[] get_filtered(nitro_service service, String filter) throws Exception
	{
		current_hostname obj = new current_hostname();
		options option = new options();
		option.set_filter(filter);
		current_hostname[] response = (current_hostname[]) obj.getfiltered(service, option);
		return response;
	}
814018
public static cachepolicy[] get(nitro_service service) throws Exception{
		cachepolicy obj = new cachepolicy();
		cachepolicy[] response = (cachepolicy[])obj.get_resources(service);
		return response;
	}
1058174
public static nstcpprofile[] get_filtered(nitro_service service, String filter) throws Exception{
		nstcpprofile obj = new nstcpprofile();
		options option = new options();
		option.set_filter(filter);
		nstcpprofile[] response = (nstcpprofile[]) obj.getfiltered(service, option);
		return response;
	}