-
public final class RepositoryHttpClient extends InstanceHttpClient
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RepositoryHttpClient(AemExtension aem, Instance instance)
-
Method Summary
-
Methods inherited from class com.cognifide.gradle.aem.common.instance.InstanceHttpClient
addEntityMultipart, addEntityUrlencoded, asHtml, asHtml, asJson, asJson, asMapFromJson, asMapFromJson, asNodeFromJson, asObjectFromJson, asObjectFromJson, asStream, asString, asXml, asXml, baseUrl, checkHtml, checkStatus, checkStatus, checkStatus, checkText, client, clientBuilder, createEntityMultipart, createEntityUrlencoded, delete, delete, delete, download, download, downloadTo, execute, execute, fileTransfer, get, get, get, head, head, head, patch, patch, patch, post, post, post, post, postMultipart, postMultipart, postUrlencoded, postUrlencoded, put, put, put, request, requestConfigurer, responseChecker, responseHandler, useDefaults -
Methods inherited from class com.cognifide.gradle.common.http.HttpClient
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RepositoryHttpClient
RepositoryHttpClient(AemExtension aem, Instance instance)
-
-
Method Detail
-
throwStatusException
Unit throwStatusException(HttpResponse response)
-
getAem
final AemExtension getAem()
-
getInstance
final Instance getInstance()
-
getAuthorizationPreemptive
final Property<Boolean> getAuthorizationPreemptive()
-
getBaseUrl
final Property<String> getBaseUrl()
-
getBasicCredentials
final Pair<String, String> getBasicCredentials()
-
getBasicPassword
final Property<String> getBasicPassword()
-
getBasicUser
final Property<String> getBasicUser()
-
getClient
final CloseableHttpClient getClient()
-
getClientBuilder
final Function1<HttpClientBuilder, Unit> getClientBuilder()
-
getCommon
final CommonExtension getCommon()
-
getConnectionIgnoreSsl
final Property<Boolean> getConnectionIgnoreSsl()
-
getConnectionRetries
final Property<Boolean> getConnectionRetries()
-
getConnectionTimeout
final Property<Int> getConnectionTimeout()
-
getMultipartBinaryType
final Property<ContentType> getMultipartBinaryType()
-
getMultipartTextType
final Property<ContentType> getMultipartTextType()
-
getProxyHost
final Property<String> getProxyHost()
-
getProxyPort
final Property<Int> getProxyPort()
-
getProxyScheme
final Property<String> getProxyScheme()
-
getRequestConfigurer
final Function1<HttpRequestBase, Unit> getRequestConfigurer()
-
getResponseChecker
final Function1<HttpResponse, Unit> getResponseChecker()
-
getResponseChecks
final Property<Boolean> getResponseChecks()
-
getResponseHandler
final Function1<HttpResponse, Unit> getResponseHandler()
-
setBasicCredentials
final Unit setBasicCredentials(Pair<String, String> basicCredentials)
-
setClientBuilder
final Unit setClientBuilder(Function1<HttpClientBuilder, Unit> clientBuilder)
-
setRequestConfigurer
final Unit setRequestConfigurer(Function1<HttpRequestBase, Unit> requestConfigurer)
-
setResponseChecker
final Unit setResponseChecker(Function1<HttpResponse, Unit> responseChecker)
-
setResponseHandler
final Unit setResponseHandler(Function1<HttpResponse, Unit> responseHandler)
-
-
-
-