public interface MvcUriBuilder
Fluent interface for adding parameters to a URI-template
retrieved by MvcContext.uriBuilder(String).
MvcContext.uriBuilder(String)| Modifier and Type | Method and Description |
|---|---|
URI |
build()
Builds a URI using the given parameters.
|
MvcUriBuilder |
param(String name,
Object... values)
Adds a parameter which will substitute any
PathParam,
QueryParam and MatrixParam with a matching name. |
MvcUriBuilder param(String name, Object... values)
Adds a parameter which will substitute any PathParam,
QueryParam and MatrixParam with a matching name.
name - the parameter name.values - the parameter value(s), each object will be converted
to a String using its toString() method.URI build()
Builds a URI using the given parameters.
UriBuilder.buildFromMap(Map)Copyright © 2017 Ivar Grimstad. All rights reserved.