public class IncrementalMigrationHttpOriginParameter
extends com.tencentcloudapi.common.AbstractModel
| Constructor and Description |
|---|
IncrementalMigrationHttpOriginParameter() |
IncrementalMigrationHttpOriginParameter(IncrementalMigrationHttpOriginParameter source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
IncrementalMigrationHttpHeaderInfo |
getHttpHeaderInfo()
Get HTTP 头部透传信息。
|
Long |
getHttpRedirectCode()
Get 重定向的 HTTP Code,目前仅支持 `301`,`302` 和 `307`。默认取值 `302`。
|
String |
getOriginRedirectionFollowMode()
Get 源站重定向跟随模式。取值有:
FOLLOW:跟随源站重定向;
IGNORE:忽略源站重定向。 默认取值 `FOLLOW` 跟随源站重定向,即源站返回 `3xx` 时,会默认跟随至对应源站拉取数据。
|
String |
getProtocol()
Get 回源协议。取值有:
HTTP:强制 HTTP;
HTTPS:强制 HTTPS;
FOLLOW:跟随请求协议。若不填,默认取值 `FOLLOW`。
|
String |
getQueryStringFollowMode()
Get 请求参数透传模式。取值有:
FOLLOW:全部透传;
IGNORE:忽略,全部不透传。 默认取值 `FOLLOW`。
|
void |
setHttpHeaderInfo(IncrementalMigrationHttpHeaderInfo HttpHeaderInfo)
Set HTTP 头部透传信息。
|
void |
setHttpRedirectCode(Long HttpRedirectCode)
Set 重定向的 HTTP Code,目前仅支持 `301`,`302` 和 `307`。默认取值 `302`。
|
void |
setOriginRedirectionFollowMode(String OriginRedirectionFollowMode)
Set 源站重定向跟随模式。取值有:
FOLLOW:跟随源站重定向;
IGNORE:忽略源站重定向。 默认取值 `FOLLOW` 跟随源站重定向,即源站返回 `3xx` 时,会默认跟随至对应源站拉取数据。
|
void |
setProtocol(String Protocol)
Set 回源协议。取值有:
HTTP:强制 HTTP;
HTTPS:强制 HTTPS;
FOLLOW:跟随请求协议。若不填,默认取值 `FOLLOW`。
|
void |
setQueryStringFollowMode(String QueryStringFollowMode)
Set 请求参数透传模式。取值有:
FOLLOW:全部透传;
IGNORE:忽略,全部不透传。 默认取值 `FOLLOW`。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
public IncrementalMigrationHttpOriginParameter()
public IncrementalMigrationHttpOriginParameter(IncrementalMigrationHttpOriginParameter source)
public IncrementalMigrationHttpHeaderInfo getHttpHeaderInfo()
public void setHttpHeaderInfo(IncrementalMigrationHttpHeaderInfo HttpHeaderInfo)
HttpHeaderInfo - HTTP 头部透传信息。public String getProtocol()
public void setProtocol(String Protocol)
Protocol - 回源协议。取值有:
public String getQueryStringFollowMode()
public void setQueryStringFollowMode(String QueryStringFollowMode)
QueryStringFollowMode - 请求参数透传模式。取值有:
public Long getHttpRedirectCode()
public void setHttpRedirectCode(Long HttpRedirectCode)
HttpRedirectCode - 重定向的 HTTP Code,目前仅支持 `301`,`302` 和 `307`。默认取值 `302`。public String getOriginRedirectionFollowMode()
public void setOriginRedirectionFollowMode(String OriginRedirectionFollowMode)
OriginRedirectionFollowMode - 源站重定向跟随模式。取值有:
Copyright © 2025. All rights reserved.