类的使用
cn.taketoday.web.servlet.support.ServletUriComponentsBuilder
-
cn.taketoday.web.servlet.support中ServletUriComponentsBuilder的使用
修饰符和类型方法说明ServletUriComponentsBuilder.cloneBuilder()static ServletUriComponentsBuilderServletUriComponentsBuilder.fromContextPath(HttpServletRequest request) Prepare a builder from the host, port, scheme, and context path of the given HttpServletRequest.static ServletUriComponentsBuilderServletUriComponentsBuilder.fromCurrentContextPath()Same asfromContextPath(HttpServletRequest)except the request is obtained throughRequestContextHolder.static ServletUriComponentsBuilderServletUriComponentsBuilder.fromCurrentRequest()Same asfromRequest(HttpServletRequest)except the request is obtained throughRequestContextHolder.static ServletUriComponentsBuilderServletUriComponentsBuilder.fromCurrentRequestUri()Same asfromRequestUri(HttpServletRequest)except the request is obtained throughRequestContextHolder.static ServletUriComponentsBuilderServletUriComponentsBuilder.fromCurrentServletMapping()Same asfromServletMapping(HttpServletRequest)except the request is obtained throughRequestContextHolder.static ServletUriComponentsBuilderServletUriComponentsBuilder.fromRequest(HttpServletRequest request) Prepare a builder by copying the scheme, host, port, path, and query string of an HttpServletRequest.static ServletUriComponentsBuilderServletUriComponentsBuilder.fromRequestUri(HttpServletRequest request) Prepare a builder from the host, port, scheme, and path (but not the query) of the HttpServletRequest.static ServletUriComponentsBuilderServletUriComponentsBuilder.fromServletMapping(HttpServletRequest request) Prepare a builder from the host, port, scheme, context path, and servlet mapping of the given HttpServletRequest.private static ServletUriComponentsBuilderServletUriComponentsBuilder.initFromRequest(HttpServletRequest request) Initialize a builder with a scheme, host,and port (but not path and query).限定符构造器说明protectedCreate a deep copy of the given ServletUriComponentsBuilder.