- All Known Subinterfaces:
Http1Client,Http2Client,HttpClient<REQ,,RES> WsClient
- All Known Implementing Classes:
DirectClient,DirectWsClient,LoomClient
public interface WebClient
HTTP client.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classWebClient.Builder<B extends WebClient.Builder<B,C>, C extends WebClient> Fluent API builder forWebClient. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionbuilder()Create a new builder of theHttp1Client.static <T> TCreate a new client builder based on the provided protocol.
-
Method Details
-
builder
Create a new builder of theHttp1Client.- Returns:
- new HTTP1 client builder
-
builder
Create a new client builder based on the provided protocol.- Type Parameters:
T- protocol client builder type- Parameters:
protocol- protocol of the client- Returns:
- new client protocol builder instance
-