@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:06.656Z") @Stability(value=Deprecated) @Deprecated public interface RedirectResponse extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
RedirectResponse redirectResponse = RedirectResponse.builder()
.statusCode("statusCode")
// the properties below are optional
.host("host")
.path("path")
.port("port")
.protocol("protocol")
.query("query")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RedirectResponse.Builder
Deprecated.
|
static class |
RedirectResponse.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static RedirectResponse.Builder |
builder()
Deprecated.
|
default String |
getHost()
Deprecated.
|
default String |
getPath()
Deprecated.
|
default String |
getPort()
Deprecated.
|
default String |
getProtocol()
Deprecated.
|
default String |
getQuery()
Deprecated.
|
String |
getStatusCode()
Deprecated.
|
@Stability(value=Deprecated) @Deprecated @NotNull String getStatusCode()
@Stability(value=Deprecated) @Deprecated @Nullable default String getHost()
This component is not percent-encoded. The hostname can contain #{host}.
Default: origin host of request
@Stability(value=Deprecated) @Deprecated @Nullable default String getPath()
This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
Default: origin path of request
@Stability(value=Deprecated) @Deprecated @Nullable default String getPort()
You can specify a value from 1 to 65535 or #{port}.
Default: origin port of request
@Stability(value=Deprecated) @Deprecated @Nullable default String getProtocol()
You 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
@Stability(value=Deprecated) @Deprecated @Nullable default String getQuery()
Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
Default: origin query string of request
@Stability(value=Deprecated) @Deprecated static RedirectResponse.Builder builder()
RedirectResponse.Builder of RedirectResponseCopyright © 2022. All rights reserved.