Class HeadRequestBuilderDefault
java.lang.Object
org.spincast.plugins.httpclient.builders.HttpRequestBuilderBase<HeadRequestBuilder>
org.spincast.plugins.httpclient.builders.HeadRequestBuilderDefault
- All Implemented Interfaces:
HeadRequestBuilder
,HttpRequestBuilder<HeadRequestBuilder>
public class HeadRequestBuilderDefault
extends HttpRequestBuilderBase<HeadRequestBuilder>
implements HeadRequestBuilder
Implementation for the Http Client builder for a HEAD request.
-
Constructor Summary
ConstructorDescriptionHeadRequestBuilderDefault
(String url, CookieFactory cookieFactory, HttpResponseFactory spincastHttpResponseFactory, SpincastHttpClientUtils spincastHttpClientUtils, SpincastHttpClientConfig spincastHttpClientConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.spincast.shaded.org.apache.http.client.methods.HttpRequestBase
Creates the HttpRequestBase depending on the HTTP method.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.HttpRequestBuilder
addHeaderValue, addHeaderValues, addHTMLAcceptHeader, addJsonAcceptHeader, addPlainTextAcceptHeader, addXMLAcceptHeader, disableRedirectHandling, disableSslCertificateErrors, send, setCookie, setCookie, setCookie, setCookies, setHeaders, setHeaderValues, setHttpAuthCredentials, setHttpClientBuilder, setRequestConfig
-
Constructor Details
-
HeadRequestBuilderDefault
public HeadRequestBuilderDefault(String url, CookieFactory cookieFactory, HttpResponseFactory spincastHttpResponseFactory, SpincastHttpClientUtils spincastHttpClientUtils, SpincastHttpClientConfig spincastHttpClientConfig)
-
-
Method Details
-
createMethodSpecificHttpRequest
protected org.spincast.shaded.org.apache.http.client.methods.HttpRequestBase createMethodSpecificHttpRequest(String url) Description copied from class:HttpRequestBuilderBase
Creates the HttpRequestBase depending on the HTTP method.- Specified by:
createMethodSpecificHttpRequest
in classHttpRequestBuilderBase<HeadRequestBuilder>
-