/** * Set restricted user agent list (which will downgrade the connector to * HTTP/1.0 mode). List contains users agents separated by ',' : * * ie: "gorilla,desesplorer,tigrus" * * @param restrictedUserAgents */ public void setRestrictedUserAgents(String restrictedUserAgents) { if (restrictedUserAgents != null) { StringTokenizer st = new StringTokenizer(restrictedUserAgents, ","); while (st.hasMoreTokens()) { addRestrictedUserAgent(st.nextToken().trim()); } } }