this.pathBuilder.addPath(uri.getRawPath());
this.pathBuilder.addPath(uri.getRawPath());
/** * Set the path of this builder overriding all existing path and path segment values. * @param path the URI path (a {@code null} value results in an empty path) * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder replacePath(@Nullable String path) { this.pathBuilder = new CompositePathComponentBuilder(); if (path != null) { this.pathBuilder.addPath(path); } resetSchemeSpecificPart(); return this; }
this.pathBuilder.addPath(uri.getRawPath());
this.pathBuilder.addPath(uri.getRawPath());
/** * Set the path of this builder overriding all existing path and path segment values. * @param path the URI path (a {@code null} value results in an empty path) * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder replacePath(@Nullable String path) { this.pathBuilder = new CompositePathComponentBuilder(); if (path != null) { this.pathBuilder.addPath(path); } resetSchemeSpecificPart(); return this; }
/** * Set the path of this builder overriding all existing path and path segment values. * @param path the URI path (a {@code null} value results in an empty path) * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder replacePath(@Nullable String path) { this.pathBuilder = new CompositePathComponentBuilder(); if (path != null) { this.pathBuilder.addPath(path); } resetSchemeSpecificPart(); return this; }
/** * Append the given path to the existing path of this builder. * The given path may contain URI template variables. * @param path the URI path * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder path(String path) { this.pathBuilder.addPath(path); resetSchemeSpecificPart(); return this; }
/** * Append the given path to the existing path of this builder. * The given path may contain URI template variables. * @param path the URI path * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder path(String path) { this.pathBuilder.addPath(path); resetSchemeSpecificPart(); return this; }
/** * Set the path of this builder overriding all existing path and path segment values. * @param path the URI path (a {@code null} value results in an empty path) * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder replacePath(@Nullable String path) { this.pathBuilder = new CompositePathComponentBuilder(); if (path != null) { this.pathBuilder.addPath(path); } resetSchemeSpecificPart(); return this; }
/** * Append the given path to the existing path of this builder. * The given path may contain URI template variables. * @param path the URI path * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder path(String path) { this.pathBuilder.addPath(path); resetSchemeSpecificPart(); return this; }
/** * Append the given path to the existing path of this builder. * The given path may contain URI template variables. * @param path the URI path * @return this UriComponentsBuilder */ @Override public UriComponentsBuilder path(String path) { this.pathBuilder.addPath(path); resetSchemeSpecificPart(); return this; }