@Generated(value="by GAPIC") @BetaApi public final class HttpRedirectAction extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpRedirectAction.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static HttpRedirectAction |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getHostRedirect()
The host that will be used in the redirect response instead of the one that was supplied in the
request.
|
Boolean |
getHttpsRedirect()
If set to true, the URL scheme in the redirected request is set to https.
|
String |
getPathRedirect()
The path that will be used in the redirect response instead of the one that was supplied in the
request.
|
String |
getPrefixRedirect()
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the
remaining portion of the URL before redirecting the request.
|
String |
getRedirectResponseCode()
The HTTP Status code to use for this RedirectAction.
|
Boolean |
getStripQuery()
If set to true, any accompanying query portion of the original URL is removed prior to
redirecting the request.
|
int |
hashCode() |
static HttpRedirectAction.Builder |
newBuilder() |
static HttpRedirectAction.Builder |
newBuilder(HttpRedirectAction prototype) |
HttpRedirectAction.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getHostRedirect()
public Boolean getHttpsRedirect()
public String getPathRedirect()
public String getPrefixRedirect()
public String getRedirectResponseCode()
public Boolean getStripQuery()
public static HttpRedirectAction.Builder newBuilder()
public static HttpRedirectAction.Builder newBuilder(HttpRedirectAction prototype)
public HttpRedirectAction.Builder toBuilder()
public static HttpRedirectAction getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.