Interface WebClient.WebExchangeBuilder<A extends ExchangeContext>
- Type Parameters:
A- the exchange context type
- All Superinterfaces:
Cloneable
- Enclosing interface:
WebClient<A extends ExchangeContext>
A Web exchange builder.
-
Method Summary
Modifier and TypeMethodDescriptionMono<WebExchange<A>> build()Builds the Web exchange.clone()Clones the Web exchange builder.Specifies the request method.Specifies the request target.pathParameter(String name, T value) Specifies the value of a path parameter in the request path.default <T> WebClient.WebExchangeBuilder<A> pathParameter(String name, T value, Class<T> type) Specifies the value of a path parameter in the request path.pathParameter(String name, T value, Type type) Specifies the value of a path parameter in the request path.queryParameter(String name, T value) Adds a query parameter.default <T> WebClient.WebExchangeBuilder<A> queryParameter(String name, T value, Class<T> type) Adds a query parameter.queryParameter(String name, T value, Type type) Adds a query parameter.
-
Method Details
-
method
Specifies the request method.
- Parameters:
method- the HTTP method- Returns:
- the Web exchange builder
-
path
Specifies the request target.
- Parameters:
path- the request target- Returns:
- the Web exchange builder
-
pathParameter
Specifies the value of a path parameter in the request path.
The specified value is converted to a
Stringusing the module's parameter converter.- Type Parameters:
T- the parameter value type- Parameters:
name- the parameter namevalue- the parameter value- Returns:
- the Web exchange builder
-
pathParameter
Specifies the value of a path parameter in the request path.
The specified value is converted to a
Stringusing the module's parameter converter.- Type Parameters:
T- the parameter value type- Parameters:
name- the parameter namevalue- the parameter valuetype- the parameter value type- Returns:
- the Web exchange builder
-
pathParameter
Specifies the value of a path parameter in the request path.
The specified value is converted to a
Stringusing the module's parameter converter.- Type Parameters:
T- the parameter value type- Parameters:
name- the parameter namevalue- the parameter valuetype- the parameter value type- Returns:
- the Web exchange builder
-
queryParameter
Adds a query parameter.
The specified value is converted to a
Stringusing the module's parameter converter.- Type Parameters:
T- the parameter value type- Parameters:
name- the parameter namevalue- the parameter value type- Returns:
- the Web exchange builder
-
queryParameter
Adds a query parameter.
The specified value is converted to a
Stringusing the module's parameter converter.- Type Parameters:
T- the parameter value type- Parameters:
name- the parameter namevalue- the parameter valuetype- the parameter value type- Returns:
- the Web exchange builder
-
queryParameter
Adds a query parameter.
The specified value is converted to a
Stringusing the module's parameter converter.- Type Parameters:
T- the parameter value type- Parameters:
name- the parameter namevalue- the parameter valuetype- the parameter value type- Returns:
- the Web exchange builder
-
build
Mono<WebExchange<A>> build()Builds the Web exchange.
- Returns:
- a
Monoemitting the Web exchange
-
clone
WebClient.WebExchangeBuilder<A> clone()Clones the Web exchange builder.
- Returns:
- a clone of the Web exchange builder
-