Class ApacheRequestBuilder
java.lang.Object
io.camunda.connector.http.base.client.apache.builder.ApacheRequestBuilder
Builder for Apache
ClassicHttpRequest.
Follows the composite builder pattern to create a ClassicHttpRequest from a HttpCommonRequest. The builder is composed of multiple ApacheRequestPartBuilders that
are responsible for building different parts of the request.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.core5.http.ClassicHttpRequestbuild(HttpCommonRequest request) static ApacheRequestBuildercreate()Creates a new instance of the builder.
-
Method Details
-
create
Creates a new instance of the builder. The default builders are:- Returns:
- a new instance of the builder
-
build
-