src/main/java/de/qaware/xff/util/uri/CompositePathComponentBuilder.java
/**
	 * Adds path segments to this builder
	 *
	 * @param pathSegments segments to add
	 */
Adds path segments to this builder
@param pathSegments segments to add
Adds path segments to this builder @param pathSegments segments to add
public void addPathSegments(String... pathSegments) {
		if (ArrayUtils.isEmpty(pathSegments)) {
			return;
		}
		PathSegmentComponentBuilder psBuilder = getLastBuilder(PathSegmentComponentBuilder.class);
		FullPathComponentBuilder fpBuilder = getLastBuilder(FullPathComponentBuilder.class);
		if (psBuilder == null) {
			psBuilder = new PathSegmentComponentBuilder();
			this.builders.add(psBuilder);
			if (fpBuilder != null) {
				fpBuilder.removeTrailingSlash();
			}
		}
		psBuilder.append(pathSegments);
	}
public void addPathSegments ( String ... pathSegments ) { if ( ArrayUtils . isEmpty ( pathSegments ) ) { return ; } PathSegmentComponentBuilder psBuilder = getLastBuilder ( PathSegmentComponentBuilder . class ) ; FullPathComponentBuilder fpBuilder = getLastBuilder ( FullPathComponentBuilder . class ) ; if ( psBuilder == null ) { psBuilder = new PathSegmentComponentBuilder ( ) ; this . builders . add ( psBuilder ) ; if ( fpBuilder != null ) { fpBuilder . removeTrailingSlash ( ) ; } } psBuilder . append ( pathSegments ) ; }
Adds path segments to this builder
 @param pathSegments segments to add
Adds path segments to this builder @param pathSegments segments to add