/** * Create a URL object for the given url segments (separated by '/' from the original url string), using the given * metadata object to represent the encoding and leading/trailing slash information about this URL. */ public URL(final List<String> segments, final Metadata metadata) { this.metadata = metadata; this.segments = segments; this.originalURL = metadata.buildURLFromSegments(segments); }
/** * Create a URL object for the given url segments (separated by '/' from the original url string), using the given * metadata object to represent the encoding and leading/trailing slash information about this URL. */ public URL(final List<String> segments, final Metadata metadata) { this.metadata = metadata; this.segments = segments; this.originalURL = metadata.buildURLFromSegments(segments); }
/** * Create a URL object for the given url segments (separated by '/' from the original url string), using the given * metadata object to represent the encoding and leading/trailing slash information about this URL. */ public URL(final List<String> segments, final Metadata metadata) { this.metadata = metadata; this.segments = segments; this.originalURL = metadata.buildURLFromSegments(segments); }
/** * Create a URL object for the given url segments (separated by '/' from the original url string), using the given * metadata object to represent the encoding and leading/trailing slash information about this URL. */ public URL(final List<String> segments, final Metadata metadata) { this.metadata = metadata; this.segments = segments; this.originalURL = metadata.buildURLFromSegments(segments); }