Uses of Class
org.springframework.web.servlet.support.ServletUriComponentsBuilder
Package
Description
Support classes for Spring's web MVC framework.
-
Uses of ServletUriComponentsBuilder in org.springframework.web.servlet.support
Modifier and TypeMethodDescriptionServletUriComponentsBuilder.cloneBuilder()
static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromContextPath
(HttpServletRequest request) Prepare a builder from the host, port, scheme, and context path of the given HttpServletRequest.static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromCurrentContextPath()
Same asfromContextPath(HttpServletRequest)
except the request is obtained throughRequestContextHolder
.static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromCurrentRequest()
Same asfromRequest(HttpServletRequest)
except the request is obtained throughRequestContextHolder
.static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromCurrentRequestUri()
Same asfromRequestUri(HttpServletRequest)
except the request is obtained throughRequestContextHolder
.static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromCurrentServletMapping()
Same asfromServletMapping(HttpServletRequest)
except the request is obtained throughRequestContextHolder
.static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromRequest
(HttpServletRequest request) Prepare a builder by copying the scheme, host, port, path, and query string of an HttpServletRequest.static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromRequestUri
(HttpServletRequest request) Prepare a builder from the host, port, scheme, and path (but not the query) of the HttpServletRequest.static ServletUriComponentsBuilder
ServletUriComponentsBuilder.fromServletMapping
(HttpServletRequest request) Prepare a builder from the host, port, scheme, context path, and servlet mapping of the given HttpServletRequest.ModifierConstructorDescriptionprotected
Create a deep copy of the given ServletUriComponentsBuilder.