public static class MvcUriComponentsBuilder.MethodArgumentBuilder extends Object
Constructor and Description |
---|
MethodArgumentBuilder(Class<?> controllerType,
Method method)
Create a new
MvcUriComponentsBuilder.MethodArgumentBuilder instance. |
MethodArgumentBuilder(UriComponentsBuilder baseUrl,
Class<?> controllerType,
Method method)
Create a new
MvcUriComponentsBuilder.MethodArgumentBuilder instance. |
Modifier and Type | Method and Description |
---|---|
MvcUriComponentsBuilder.MethodArgumentBuilder |
arg(int index,
Object value) |
String |
build() |
String |
buildAndExpand(Object... uriVars) |
MvcUriComponentsBuilder.MethodArgumentBuilder |
encode()
Use this method only if you need to apply strong encoding to expanded
URI variables by quoting all characters with reserved meaning.
|
public MethodArgumentBuilder(Class<?> controllerType, Method method)
MvcUriComponentsBuilder.MethodArgumentBuilder
instance.public MethodArgumentBuilder(@Nullable UriComponentsBuilder baseUrl, Class<?> controllerType, Method method)
MvcUriComponentsBuilder.MethodArgumentBuilder
instance.public MvcUriComponentsBuilder.MethodArgumentBuilder arg(int index, Object value)
public MvcUriComponentsBuilder.MethodArgumentBuilder encode()
public String build()