List of usage examples for org.springframework.http.server RequestPath parse
static RequestPath parse(URI uri, @Nullable String contextPath)
From source file:org.springframework.http.server.reactive.AbstractServerHttpRequest.java
/** * Constructor with the URI and headers for the request. * @param uri the URI for the request/* ww w . j a va2 s .com*/ * @param contextPath the context path for the request * @param headers the headers for the request */ public AbstractServerHttpRequest(URI uri, @Nullable String contextPath, HttpHeaders headers) { this.uri = uri; this.path = RequestPath.parse(uri, contextPath); this.headers = HttpHeaders.readOnlyHttpHeaders(headers); }