config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/URL.java
public List<String> getEncodedSegments()
   {
      List<String> resultSegments = new ArrayList<String>();
      for (String segment : segments)
      {
         resultSegments.add(Encoder.path(segment));
      }
      return resultSegments;
   }
public List<String> getEncodedSegments()
   {
      List<String> resultSegments = new ArrayList<String>();
      for (String segment : segments)
      {
         resultSegments.add(Encoder.path(segment));
      }
      return resultSegments;
   }
Get a list of all encoded segments (separated by '/') in this URL.