public static class QCloudHttpRequest.Builder<T> extends HttpRequest.Builder<T>
构造器和说明 |
---|
Builder() |
addHeaders, addHeadersUnsafeNonAscii, addNoSignHeaderKeys, addNoSignParamKeys, encodedQuery, encodedQuery, encodedQuery, getNoSignHeaderKeys, getNoSignParamsKeys, prepareBuild, query, setKeyTime
public QCloudHttpRequest.Builder<T> signer(java.lang.String signerType, QCloudSignSourceProvider signProvider)
public QCloudHttpRequest.Builder<T> selfSigner(QCloudSelfSigner selfSigner)
public QCloudHttpRequest.Builder<T> credentialScope(STSCredentialScope[] credentialScope)
public QCloudHttpRequest.Builder<T> signInUrl(boolean signInUrl)
public QCloudHttpRequest.Builder<T> url(java.net.URL url)
url
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> scheme(java.lang.String scheme)
scheme
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> path(java.lang.String path)
path
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> host(java.lang.String host)
host
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> port(int port)
port
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> method(java.lang.String method)
method
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> query(java.lang.String key, java.lang.String value)
query
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> contentMD5()
contentMD5
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> addHeader(java.lang.String name, java.lang.String value)
addHeader
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> removeHeader(java.lang.String name)
removeHeader
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> userAgent(java.lang.String userAgent)
userAgent
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> setUseCache(boolean cacheEnabled)
setUseCache
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> body(RequestBodySerializer bodySerializer)
body
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> tag(java.lang.Object tag)
tag
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest.Builder<T> converter(ResponseBodyConverter<T> responseBodyConverter)
converter
在类中 HttpRequest.Builder<T>
public QCloudHttpRequest<T> build()
build
在类中 HttpRequest.Builder<T>