类 ServletUriComponentsBuilder

  • 所有已实现的接口:
    Cloneable, UriBuilder

    public class ServletUriComponentsBuilder
    extends UriComponentsBuilder
    UriComponentsBuilder with additional static factory methods to create links based on the current HttpServletRequest.

    Note: As of 5.1, methods in this class do not extract "Forwarded" and "X-Forwarded-*" headers that specify the client-originated address. Please, use ForwardedHeaderFilter, or similar from the underlying server, to extract and use such headers, or to discard them.

    从以下版本开始:
    3.1
    作者:
    Rossen Stoyanchev