List of usage examples for org.apache.shiro.util StringUtils toString
public static String toString(Object[] array)
From source file:com.wms.studio.filter.HttpFilter.java
License:Apache License
protected int toPort(Object mappedValue) { String[] ports = (String[]) mappedValue; if (ports == null || ports.length == 0) { return getPort(); }//from ww w . j a v a 2 s .co m if (ports.length > 1) { throw new ConfigurationException("PortFilter can only be configured with a single port. You have " + "configured " + ports.length + ": " + StringUtils.toString(ports)); } return Integer.parseInt(ports[0]); }