Uses of Class
net.dreamlu.mica.http.HttpRequest
-
Uses of HttpRequest in net.dreamlu.mica.http
Methods in net.dreamlu.mica.http that return HttpRequestModifier and TypeMethodDescriptionHttpRequest.addCookie(okhttp3.Cookie cookie) HttpRequest.authenticator(okhttp3.Authenticator authenticator) HttpRequest.body(byte[] body) HttpRequest.body(byte[] body, okhttp3.MediaType contentType) HttpRequest.body(okhttp3.RequestBody requestBody) HttpRequest.bodyString(String body) HttpRequest.bodyString(okhttp3.MediaType contentType, String body) FormBuilder.build()MultipartFormBuilder.build()HttpRequest.cacheControl(okhttp3.CacheControl cacheControl) HttpRequest.connectTimeout(Duration timeout) HttpRequest.cookieManager(okhttp3.CookieJar cookieJar) static HttpRequeststatic HttpRequestHttpRequest.eventListener(okhttp3.EventListener eventListener) HttpRequest.followRedirects(boolean followRedirects) HttpRequest.followSslRedirects(boolean followSslRedirects) static HttpRequeststatic HttpRequestHttpRequest.hostnameVerifier(HostnameVerifier hostnameVerifier) HttpRequest.interceptor(okhttp3.Interceptor interceptor) static HttpRequeststatic HttpRequeststatic HttpRequeststatic HttpRequestHttpRequest.proxy(InetSocketAddress address) HttpRequest.proxy(Proxy.Type type, InetSocketAddress address) HttpRequest.proxyAuthenticator(okhttp3.Authenticator proxyAuthenticator) HttpRequest.proxySelector(ProxySelector proxySelector) static HttpRequeststatic HttpRequestHttpRequest.queryEncoded(String encodedQuery) HttpRequest.queryEncoded(String encodedName, @Nullable Object encodedValue) HttpRequest.readTimeout(Duration readTimeout) HttpRequest.removeHeader(String name) HttpRequest.retry()HttpRequest.retry(int maxAttempts, long sleepMillis) HttpRequest.retry(int maxAttempts, long sleepMillis, Predicate<ResponseSpec> respPredicate) HttpRequest.retry(IRetry retry, Predicate<ResponseSpec> respPredicate) HttpRequest.retryOn(Predicate<ResponseSpec> respPredicate) HttpRequest.sslSocketFactory(SSLSocketFactory sslSocketFactory, @Nullable X509TrustManager trustManager) HttpRequest.useConsoleLog()HttpRequest.useConsoleLog(LogLevel logLevel) HttpRequest.useDefaultLog()HttpRequest.useDefaultLog(LogLevel logLevel) HttpRequest.useLog(HttpLoggingInterceptor.Logger logger) HttpRequest.useLog(HttpLoggingInterceptor.Logger logger, LogLevel logLevel) HttpRequest.useSlf4jLog()HttpRequest.useSlf4jLog(LogLevel logLevel) HttpRequest.useSSL()HttpRequest.useSSL(InputStream keyStoreInputStream, String keyPass) HttpRequest.useSSL(InputStream keyStoreInputStream, String keyPass, InputStream trustInputStream, String trustPass) HttpRequest.useSSL(SSLSocketFactory sslSocketFactory, X509TrustManager trustManager) HttpRequest.writeTimeout(Duration writeTimeout)