public static interface ServerHttpRequest.Builder
ServerHttpRequest.| Modifier and Type | Method and Description | 
|---|---|
ServerHttpRequest | 
build()
Build a  
ServerHttpRequest decorator with the mutated properties. | 
ServerHttpRequest.Builder | 
contextPath(String contextPath)
Set the contextPath to use. 
 | 
ServerHttpRequest.Builder | 
header(String key,
      String value)
Set or override the specified header. 
 | 
ServerHttpRequest.Builder | 
headers(Consumer<HttpHeaders> headersConsumer)
Manipulate this request's headers with the given consumer. 
 | 
ServerHttpRequest.Builder | 
method(HttpMethod httpMethod)
Set the HTTP method to return. 
 | 
ServerHttpRequest.Builder | 
path(String path)
Set the path to use instead of the  
"rawPath" of
 HttpRequest.getURI(). | 
ServerHttpRequest.Builder | 
uri(URI uri)
Set the URI to return. 
 | 
ServerHttpRequest.Builder method(HttpMethod httpMethod)
ServerHttpRequest.Builder uri(URI uri)
ServerHttpRequest.Builder path(String path)
"rawPath" of
 HttpRequest.getURI().ServerHttpRequest.Builder contextPath(String contextPath)
ServerHttpRequest.Builder header(String key, String value)
ServerHttpRequest.Builder headers(Consumer<HttpHeaders> headersConsumer)
HttpHeaders methods.headersConsumer - a function that consumes the HttpHeadersServerHttpRequest build()
ServerHttpRequest decorator with the mutated properties.