Class SimpleRequestBuilder

java.lang.Object
org.apache.hc.core5.http.support.AbstractMessageBuilder<SimpleHttpRequest>
org.apache.hc.core5.http.support.AbstractRequestBuilder<SimpleHttpRequest>
org.apache.hc.client5.http.async.methods.SimpleRequestBuilder

public class SimpleRequestBuilder extends org.apache.hc.core5.http.support.AbstractRequestBuilder<SimpleHttpRequest>
Builder for SimpleHttpRequest instances.

Please note that this class treats parameters differently depending on composition of the request: if the request has a content entity explicitly set with setBody(SimpleBody) or it is not an entity enclosing method (such as POST or PUT), parameters will be added to the query component of the request URI. Otherwise, parameters will be added as a URL encoded entity.

Since:
5.0