@Stability(value=Stable) @Internal public static final class RedirectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RedirectOptions
RedirectOptionssoftware.amazon.jsii.JsiiObject.InitializationModeRedirectOptions.Builder, RedirectOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(RedirectOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
RedirectOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getHost()
The hostname.
|
String |
getPath()
The absolute path, starting with the leading "/".
|
Boolean |
getPermanent()
The HTTP redirect code.
|
String |
getPort()
The port.
|
String |
getProtocol()
The protocol.
|
String |
getQuery()
The query parameters, URL-encoded when necessary, but not percent-encoded.
|
int |
hashCode() |
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.protected Jsii$Proxy(RedirectOptions.Builder builder)
RedirectOptions.Builder.public final String getHost()
RedirectOptionsThis component is not percent-encoded. The hostname can contain #{host}.
Default: - No change
getHost in interface RedirectOptionspublic final String getPath()
RedirectOptionsThis component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
Default: - No change
getPath in interface RedirectOptionspublic final Boolean getPermanent()
RedirectOptionsThe redirect is either permanent (HTTP 301) or temporary (HTTP 302).
Default: false
getPermanent in interface RedirectOptionspublic final String getPort()
RedirectOptionsYou can specify a value from 1 to 65535 or #{port}.
Default: - No change
getPort in interface RedirectOptionspublic final String getProtocol()
RedirectOptionsYou 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: - No change
getProtocol in interface RedirectOptionspublic final String getQuery()
RedirectOptionsDo not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
Default: - No change
getQuery in interface RedirectOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.