@Stability(value=Deprecated) @Deprecated @Internal public static final class RedirectResponse.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RedirectResponse
RedirectResponsesoftware.amazon.jsii.JsiiObject.InitializationModeRedirectResponse.Builder, RedirectResponse.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String statusCode,
String host,
String path,
String port,
String protocol,
String query)
Deprecated.
Constructor that initializes the object based on literal property values passed by the
RedirectResponse.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
String |
getHost()
Deprecated.
(deprecated) The hostname.
|
String |
getPath()
Deprecated.
(deprecated) The absolute path, starting with the leading "/".
|
String |
getPort()
Deprecated.
(deprecated) The port.
|
String |
getProtocol()
Deprecated.
(deprecated) The protocol.
|
String |
getQuery()
Deprecated.
(deprecated) The query parameters, URL-encoded when necessary, but not percent-encoded.
|
String |
getStatusCode()
Deprecated.
(deprecated) The HTTP redirect code (HTTP_301 or HTTP_302).
|
int |
hashCode()
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public final String getStatusCode()
RedirectResponsegetStatusCode in interface RedirectResponsepublic final String getHost()
RedirectResponseThis component is not percent-encoded. The hostname can contain #{host}.
Default: origin host of request
getHost in interface RedirectResponsepublic final String getPath()
RedirectResponseThis component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
Default: origin path of request
getPath in interface RedirectResponsepublic final String getPort()
RedirectResponseYou can specify a value from 1 to 65535 or #{port}.
Default: origin port of request
getPort in interface RedirectResponsepublic final String getProtocol()
RedirectResponseYou can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
Default: origin protocol of request
getProtocol in interface RedirectResponsepublic final String getQuery()
RedirectResponseDo not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
Default: origin query string of request
getQuery in interface RedirectResponse@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.