Java org.springframework.web.util UriComponentsBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.util UriComponentsBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.util UriComponentsBuilder.

The text is from its open source code.

Subclass

org.springframework.web.util.UriComponentsBuilder has subclasses.
Click this link to see all its subclasses.

Field

Stringscheme
StringuserInfo
Stringhost
Stringport
Stringfragment

Method

UriComponentsbuild()
Build a UriComponents instance from the various components contained in this builder.
UriComponentsbuild(boolean encoded)
Build a UriComponents instance from the various components contained in this builder.
URIbuild(Object... uriVariables)
URIbuild(Map uriVariables)
UriComponentsbuildAndExpand(Map uriVariables)
Build a UriComponents instance and replaces URI template variables with the values from a map.
UriComponentsbuildAndExpand(Object... uriVariableValues)
Build a UriComponents instance and replaces URI template variables with the values from an array.
Objectclone()
Public declaration of Object's clone() method.
UriComponentsBuildercloneBuilder()
Clone this UriComponentsBuilder .
UriComponentsBuilderfromHttpRequest(HttpRequest request)
Create a new UriComponents object from the URI associated with the given HttpRequest while also overlaying with values from the headers "Forwarded" (RFC 7239), or "X-Forwarded-Host", "X-Forwarded-Port", and "X-Forwarded-Proto" if "Forwarded" is not found.
UriComponentsBuilderfromHttpUrl(String httpUrl)
Create a URI components builder from the given HTTP URL String.
UriComponentsBuilderfromPath(String path)
Create a builder that is initialized with the given path.
UriComponentsBuilderfromUri(URI uri)
Create a builder that is initialized with the given URI .
UriComponentsBuilderfromUriString(String uri)
Create a builder that is initialized with the given URI string.
UriComponentsBuildernewInstance()
Create a new, empty builder.
UriComponentsBuilderpath(String path)
Append the given path to the existing path of this builder.
UriComponentsBuilderpathSegment(String... pathSegments)
Append path segments to the existing path.
UriComponentsBuilderquery(@Nullable String query)
Append the given query to the existing query of this builder.
UriComponentsBuilderqueryParam(String name, Object... values)
Append the given query parameter to the existing query parameters.
UriComponentsBuilderqueryParam(String name, @Nullable Collection values)
Append the given query parameter to the existing query parameters.
UriComponentsBuilderreplacePath(@Nullable String path)
Set the path of this builder overriding all existing path and path segment values.
UriComponentsBuilderreplaceQuery(@Nullable String query)
Set the query of this builder overriding all existing query parameters.
UriComponentsBuilderreplaceQueryParam(String name, Object... values)
Set the query parameter values overriding all existing query values for the same parameter.
UriComponentsBuilderreplaceQueryParam(String name, @Nullable Collection values)
Set the query parameter values overriding all existing query values for the same parameter.
StringtoUriString()
Build a URI String.
UriComponentsBuilderuri(URI uri)
Initialize components of this builder from components of the given URI.