Class HttpRequestBuilder
java.lang.Object
org.opentestfactory.services.components.http.HttpRequestBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.client5.http.classic.methods.HttpDeleteorg.apache.hc.client5.http.classic.methods.HttpPostorg.apache.hc.client5.http.classic.methods.HttpPutbuildPut()withBearerToken(String token) withContent(String content) withEncodedAuthorizationHeader(String login, String password) withUserAgent(String userAgent)
-
Constructor Details
-
HttpRequestBuilder
public HttpRequestBuilder()
-
-
Method Details
-
withUri
-
withBearerToken
-
withEncodedAuthorizationHeader
-
withUserAgent
-
withContent
-
buildPost
public org.apache.hc.client5.http.classic.methods.HttpPost buildPost() -
buildDelete
public org.apache.hc.client5.http.classic.methods.HttpDelete buildDelete() -
buildPut
public org.apache.hc.client5.http.classic.methods.HttpPut buildPut()
-