类的使用
org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
使用MvcUriComponentsBuilder.MethodArgumentBuilder的程序包 程序包 说明 org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.method.annotation中MvcUriComponentsBuilder.MethodArgumentBuilder的使用
返回MvcUriComponentsBuilder.MethodArgumentBuilder的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 MvcUriComponentsBuilder.MethodArgumentBuilder
MvcUriComponentsBuilder.MethodArgumentBuilder. arg(int index, Object value)
MvcUriComponentsBuilder.MethodArgumentBuilder
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.static MvcUriComponentsBuilder.MethodArgumentBuilder
MvcUriComponentsBuilder. fromMappingName(String mappingName)
Create a URL from the name of a Spring MVC controller method's request mapping.static MvcUriComponentsBuilder.MethodArgumentBuilder
MvcUriComponentsBuilder. fromMappingName(UriComponentsBuilder builder, String name)
An alternative toMvcUriComponentsBuilder.fromMappingName(String)
that accepts aUriComponentsBuilder
representing the base URL.MvcUriComponentsBuilder.MethodArgumentBuilder
MvcUriComponentsBuilder. withMappingName(String mappingName)
An alternative toMvcUriComponentsBuilder.fromMappingName(String)
for use with an instance of this class created viaMvcUriComponentsBuilder.relativeTo(org.springframework.web.util.UriComponentsBuilder)
.