Package | Description |
---|---|
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
Modifier and Type | Method and Description |
---|---|
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromContextPath(javax.servlet.http.HttpServletRequest request)
Prepare a builder from the host, port, scheme, and context path of
an HttpServletRequest.
|
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromCurrentContextPath()
Same as
fromContextPath(HttpServletRequest) except the
request is obtained through RequestContextHolder . |
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromCurrentRequest()
Same as
fromRequest(HttpServletRequest) except the
request is obtained through RequestContextHolder . |
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromCurrentRequestUri()
Same as
fromRequestUri(HttpServletRequest) except the
request is obtained through RequestContextHolder . |
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromCurrentServletMapping()
Same as
fromServletMapping(HttpServletRequest) except the
request is obtained through RequestContextHolder . |
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromRequest(javax.servlet.http.HttpServletRequest request)
Prepare a builder by copying the scheme, host, port, path, and
query string of an HttpServletRequest.
|
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromRequestUri(javax.servlet.http.HttpServletRequest request)
Prepare a builder from the host, port, scheme, and path of
an HttpSevletRequest.
|
static ServletUriComponentsBuilder |
ServletUriComponentsBuilder.fromServletMapping(javax.servlet.http.HttpServletRequest request)
Prepare a builder from the host, port, scheme, context path, and
servlet mapping of the given HttpServletRequest.
|
Copyright © 2015. All rights reserved.