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(java.lang.String contextPath)
Set the contextPath to return.
|
ServerHttpRequest.Builder |
header(java.lang.String key,
java.lang.String value)
Set or override the specified header.
|
ServerHttpRequest.Builder |
method(HttpMethod httpMethod)
Set the HTTP method to return.
|
ServerHttpRequest.Builder |
path(java.lang.String path)
Set the request URI to return.
|
ServerHttpRequest.Builder method(HttpMethod httpMethod)
ServerHttpRequest.Builder path(java.lang.String path)
ServerHttpRequest.Builder contextPath(java.lang.String contextPath)
ServerHttpRequest.Builder header(java.lang.String key, java.lang.String value)
ServerHttpRequest build()
ServerHttpRequest
decorator with the mutated properties.