Class PostRequestBuilderDefault
java.lang.Object
org.spincast.plugins.httpclient.builders.HttpRequestBuilderBase<T>
org.spincast.plugins.httpclient.builders.BodySenderRequestBuilderBaseDefault<PostRequestBuilder>
org.spincast.plugins.httpclient.builders.PostRequestBuilderDefault
- All Implemented Interfaces:
BodySenderRequestBuilderBase<PostRequestBuilder>
,PostRequestBuilder
,HttpRequestBuilder<PostRequestBuilder>
public class PostRequestBuilderDefault
extends BodySenderRequestBuilderBaseDefault<PostRequestBuilder>
implements PostRequestBuilder
Implementation for the Http Client builder for a POST request.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.spincast.plugins.httpclient.builders.BodySenderRequestBuilderBaseDefault
BodySenderRequestBuilderBaseDefault.BodyType
-
Field Summary
Fields inherited from class org.spincast.plugins.httpclient.builders.BodySenderRequestBuilderBaseDefault
logger
-
Constructor Summary
ConstructorDescriptionPostRequestBuilderDefault
(String url, CookieFactory cookieFactory, HttpResponseFactory spincastHttpResponseFactory, JsonManager jsonManager, XmlManager xmlManager, SpincastHttpClientUtils spincastHttpClientUtils, SpincastHttpClientConfig spincastHttpClientConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.spincast.shaded.org.apache.http.client.methods.HttpEntityEnclosingRequestBase
Methods inherited from class org.spincast.plugins.httpclient.builders.BodySenderRequestBuilderBaseDefault
addFileToUploadBody, addFileToUploadBody, addFormBodyFieldValue, convertToNameValuePair, createMethodSpecificHttpRequest, getBodyType, getFileToUploads, getFormBodyEncoding, getFormBodyFields, getJsonManager, getStandardBody, getStringBodyEncoding, getXmlManager, setBody, setFormBodyField, setFormBodyFields, setJsonStringBody, setStringBody, setXmlStringBody
Methods inherited from class org.spincast.plugins.httpclient.builders.HttpRequestBuilderBase
addHeaderValue, addHeaderValues, addHTMLAcceptHeader, addJsonAcceptHeader, addPlainTextAcceptHeader, addXMLAcceptHeader, convertToApacheCookie, convertToApacheCookieTweakName, convertToApacheCookieTweakValue, createHttpClient, createHttpClientBuilder, disableRedirectHandling, disableSslCertificateErrors, getCookieEncoding, getCookieFactory, getCookieStore, getHeaders, getHttpAuthPassword, getHttpAuthUsername, getHttpClient, getHttpClientBuilder, getHttpRequestExecutor, getRequestConfig, getSpincastHttpClientConfig, getSpincastHttpClientUtils, getSpincastHttpResponseFactory, getUrl, isDisableRedirectHandling, isDisableSslCertificateErrors, send, sendGetRawResponse, setCookie, setCookie, setCookie, setCookies, setCookieStore, setHeaders, setHeaderValues, setHttpAuthCredentials, setHttpClientBuilder, setRequestConfig
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.spincast.plugins.httpclient.builders.BodySenderRequestBuilderBase
addFileToUploadBody, addFileToUploadBody, addFormBodyFieldValue, setBody, setFormBodyField, setFormBodyFields, setJsonStringBody, setStringBody, setXmlStringBody
Methods inherited from interface org.spincast.plugins.httpclient.HttpRequestBuilder
addHeaderValue, addHeaderValues, addHTMLAcceptHeader, addJsonAcceptHeader, addPlainTextAcceptHeader, addXMLAcceptHeader, disableRedirectHandling, disableSslCertificateErrors, send, setCookie, setCookie, setCookie, setCookies, setHeaders, setHeaderValues, setHttpAuthCredentials, setHttpClientBuilder, setRequestConfig
-
Constructor Details
-
PostRequestBuilderDefault
public PostRequestBuilderDefault(String url, CookieFactory cookieFactory, HttpResponseFactory spincastHttpResponseFactory, JsonManager jsonManager, XmlManager xmlManager, SpincastHttpClientUtils spincastHttpClientUtils, SpincastHttpClientConfig spincastHttpClientConfig)
-
-
Method Details
-
getHttpEntityEnclosingRequestBase
protected org.spincast.shaded.org.apache.http.client.methods.HttpEntityEnclosingRequestBase getHttpEntityEnclosingRequestBase(String url) - Specified by:
getHttpEntityEnclosingRequestBase
in classBodySenderRequestBuilderBaseDefault<PostRequestBuilder>
-